Skip to content

Instantly share code, notes, and snippets.

@divega
Last active February 11, 2019 19:10
Show Gist options
  • Save divega/31a15d492283ab34e6631ab6686f6705 to your computer and use it in GitHub Desktop.
Save divega/31a15d492283ab34e6631ab6686f6705 to your computer and use it in GitHub Desktop.
Pattern to enable sequences in EF 6.2
System.Data.Entity.SqlServer.SqlProviderServices.UseScopeIdentity = false;
@vasanthloganathan
Copy link

vasanthloganathan commented Feb 11, 2019

@divega
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment