Skip to content

Instantly share code, notes, and snippets.

@divega divega/ef6.2-issue165.cs
Last active Feb 11, 2019

What would you like to do?
Pattern to enable sequences in EF 6.2
System.Data.Entity.SqlServer.SqlProviderServices.UseScopeIdentity = false;

This comment has been minimized.

Copy link

commented Feb 11, 2019

Please when you have time can you give an example,

  1. Where to set this value?
  2. What attribute is needed on the field that represents the SEQUENCE column?
  3. Is there any drawback in setting this value to false always.
You can’t perform that action at this time.