Entity Framework not working with temporal table
<p>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 insert new data:</p>

<p><code>Cannot insert an explicit value into a GENERATED ALWAYS column in table '&lt;MyDatabase&gt;.dbo.&lt;MyTableName&gt;. Use INSERT with a column list to exclude the GENERATED ALWAYS column, or insert a DEFAULT into GENERATED ALWAYS column.</code></p>

<p>It looks like EF is trying to update the values of the <code>PERIOD</code> columns which are managed by the system.  </p>

<p>Removing the columns from the EDMX file seems to correct the problem, but this is not a viable solution since the columns are re-added each time the model is regenerated from the database.</p>