SqlServerStoreGenerationConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A convention that ensures that properties aren't configured to have a default value, as computed column or using a SqlServerValueGenerationStrategy at the same time.
public class SqlServerStoreGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.StoreGenerationConvention
type SqlServerStoreGenerationConvention = class
inherit StoreGenerationConvention
Public Class SqlServerStoreGenerationConvention
Inherits StoreGenerationConvention
- Inheritance
Remarks
See Model building conventions, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.
Constructors
SqlServerStoreGenerationConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of SqlServerStoreGenerationConvention. |
Properties
Dependencies |
Dependencies for this service. (Inherited from StoreGenerationConvention) |
RelationalDependencies |
Relational provider-specific dependencies for this service. (Inherited from StoreGenerationConvention) |
Methods
Applies to
Entity Framework