SqlServerComplexTypePropertyBuilderExtensions 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.
SQL Server specific extension methods for ComplexTypePropertyBuilder.
public static class SqlServerComplexTypePropertyBuilderExtensions
type SqlServerComplexTypePropertyBuilderExtensions = class
Public Module SqlServerComplexTypePropertyBuilderExtensions
- Inheritance
-
SqlServerComplexTypePropertyBuilderExtensions
Remarks
See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.
Methods
IsSparse(ComplexTypePropertyBuilder, Boolean) |
Configures whether the property's column is created as sparse when targeting SQL Server. |
IsSparse<TProperty>(ComplexTypePropertyBuilder<TProperty>, Boolean) |
Configures whether the property's column is created as sparse when targeting SQL Server. |
UseHiLo(ComplexTypePropertyBuilder, String, String) |
Configures the key property to use a sequence-based hi-lo pattern to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseHiLo<TProperty>(ComplexTypePropertyBuilder<TProperty>, String, String) |
Configures the key property to use a sequence-based hi-lo pattern to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseIdentityColumn(ComplexTypePropertyBuilder, Int32, Int32) |
Configures the key property to use the SQL Server IDENTITY feature to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseIdentityColumn(ComplexTypePropertyBuilder, Int64, Int32) |
Configures the key property to use the SQL Server IDENTITY feature to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseIdentityColumn<TProperty>(ComplexTypePropertyBuilder<TProperty>, Int32, Int32) |
Configures the key property to use the SQL Server IDENTITY feature to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseIdentityColumn<TProperty>(ComplexTypePropertyBuilder<TProperty>, Int64, Int32) |
Configures the key property to use the SQL Server IDENTITY feature to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseSequence(ComplexTypePropertyBuilder, String, String) |
Configures the key property to use a sequence-based key value generation pattern to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
UseSequence<TProperty>(ComplexTypePropertyBuilder<TProperty>, String, String) |
Configures the key property to use a sequence-based key value generation pattern to generate values for new entities, when targeting SQL Server. This method sets the property to be OnAdd. |
Applies to
Entity Framework