-
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
Detect SqlServer features automagically rather than using env vars #20318
Comments
Assuming you only support SQL Server 2012 or later, sequences are always supported. Memory optimized: https://github.com/dotnet/efcore/blob/master/src/EFCore.SqlServer/Scaffolding/Internal/SqlServerDatabaseModelFactory.cs#L1111 Hidden columns: https://github.com/dotnet/efcore/blob/master/src/EFCore.SqlServer/Scaffolding/Internal/SqlServerDatabaseModelFactory.cs#L1106 Online index creation: EngineEdition IN (3,5,8) |
@ErikEJ That only indicates whether the server supports the syntax, the in-memory feature also needs to be installed among other requirements to be able to succesfully create an in-memory table. |
@ErikEJ Consider making a PR? |
fixes dotnet#20318 I have attempted to cater for current implicit assumptions - but it is opaque to me what SQL Server edtions tests are actually run against. Tested with SQL 2016 Developer Edition and LocalDb version 14
Yes! PR submitted. |
fixes dotnet#20318 I have attempted to cater for current implicit assumptions - but it is opaque to me what SQL Server edtions tests are actually run against. Tested with SQL 2016 Developer Edition and LocalDb version 14
@bricelam wrote
Can we detect sequences, memory-optimized, hidden columns, and online index creation?
The text was updated successfully, but these errors were encountered: