Skip to content

Instantly share code, notes, and snippets.

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

@vasanthloganathan vasanthloganathan 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment