I\'m using database first entity framework 6. After changing some of the tables in my schema to be temporal tables, I started getting the following error when attempting to
Making the Period start column (ValidFrom) and Period end column (ValidTo) should fix this issue. We can do this by
ALTER TABLE [dbo].[Table1] ALTER COLUMN [ValidFrom] ADD HIDDEN;
ALTER TABLE [dbo].[Table1] ALTER COLUMN [ValidTo] ADD HIDDEN;
We can see the settings for hidden against these columns in the sys.columns table
SELECT * FROM sys.columns WHERE is_hidden = 1