Monthly Archives: June 2016

Using SQL Identity Insert with Entity Framework 6 – Making it work

When you have a primary key field (say ID) with IDENTITY switched on it works beautifully with EF when doing inserts, etc. Everything you would expect it to, except when you need to turn off IDENTITY insert temporarily for, say … Continue reading

Posted in Entity Framework | 2 Comments