-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider removing UseSqlServerIdentityColumn and ForSqlServerUseSequenceHiLo #8271
Comments
Note from triage: Consider adding strategy for column-constraint-based Sequence. |
May be a breaking change, depending on what we do. |
@divega I think we should remove these for 2.0 and then look at bringing them back, possibly with different names and/or other strategies added. Thoughts? |
Discussed with @divega and @AndriySvyryd. We are going to make UseSqlServerIdentityColumn work for non key properties without having it trigger client side value generation at all. ForSqlServerUseSequenceHiLo will still throw for non-key columns. Still need to sync with @bricelam on Migrations behavior. |
Throw for multiple columns configured as identity. Fixes #8271
Migrations should work fine. If the annotation is on the property, it will create an IDENTITY column. |
Nobody really knows what they mean, when to use them, or where they are valid.
The text was updated successfully, but these errors were encountered: