RelationalPrimitiveCollectionBuilderExtensions 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.
Relational database specific extension methods for PrimitiveCollectionBuilder.
public static class RelationalPrimitiveCollectionBuilderExtensions
type RelationalPrimitiveCollectionBuilderExtensions = class
Public Module RelationalPrimitiveCollectionBuilderExtensions
- Inheritance
-
RelationalPrimitiveCollectionBuilderExtensions
Remarks
See Modeling entity types and relationships for more information and examples.
Methods
HasColumnName(PrimitiveCollectionBuilder, String) |
Configures the column that the property maps to when targeting a relational database. |
HasColumnName<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures the column that the property maps to when targeting a relational database. |
HasColumnOrder(PrimitiveCollectionBuilder, Nullable<Int32>) |
Configures the order of the column the property is mapped to. |
HasColumnOrder<TProperty>(PrimitiveCollectionBuilder<TProperty>, Nullable<Int32>) |
Configures the order of the column the property is mapped to. |
HasColumnType(PrimitiveCollectionBuilder, String) |
Configures the data type of the column that the property maps to when targeting a relational database. This should be the complete type name, including precision, scale, length, etc. |
HasColumnType<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures the data type of the column that the property maps to when targeting a relational database. This should be the complete type name, including precision, scale, length, etc. |
HasComment(PrimitiveCollectionBuilder, String) |
Configures a comment to be applied to the column |
HasComment<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures a comment to be applied to the column |
HasComputedColumnSql(PrimitiveCollectionBuilder, String, Nullable<Boolean>) |
Configures the property to map to a computed column when targeting a relational database. |
HasComputedColumnSql(PrimitiveCollectionBuilder, String) |
Configures the property to map to a computed column when targeting a relational database. |
HasComputedColumnSql(PrimitiveCollectionBuilder) |
Configures the property to map to a computed column when targeting a relational database. |
HasComputedColumnSql<TProperty>(PrimitiveCollectionBuilder<TProperty>, String, Nullable<Boolean>) |
Configures the property to map to a computed column when targeting a relational database. |
HasComputedColumnSql<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures the property to map to a computed column when targeting a relational database. |
HasComputedColumnSql<TProperty>(PrimitiveCollectionBuilder<TProperty>) |
Configures the property to map to a computed column when targeting a relational database. |
HasDefaultValue(PrimitiveCollectionBuilder, Object) |
Configures the default value for the column that the property maps to when targeting a relational database. |
HasDefaultValue(PrimitiveCollectionBuilder) |
Configures the default value for the column that the property maps to when targeting a relational database. |
HasDefaultValue<TProperty>(PrimitiveCollectionBuilder<TProperty>, Object) |
Configures the default value for the column that the property maps to when targeting a relational database. |
HasDefaultValue<TProperty>(PrimitiveCollectionBuilder<TProperty>) |
Configures the default value for the column that the property maps to when targeting a relational database. |
HasDefaultValueSql(PrimitiveCollectionBuilder, String) |
Configures the default value expression for the column that the property maps to when targeting a relational database. |
HasDefaultValueSql(PrimitiveCollectionBuilder) |
Configures the default value expression for the column that the property maps to when targeting a relational database. |
HasDefaultValueSql<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures the default value expression for the column that the property maps to when targeting a relational database. |
HasDefaultValueSql<TProperty>(PrimitiveCollectionBuilder<TProperty>) |
Configures the default value expression for the column that the property maps to when targeting a relational database. |
HasJsonPropertyName(PrimitiveCollectionBuilder, String) |
Configures the property of an entity mapped to a JSON column, mapping the entity property to a specific JSON property, rather than using the entity property name. |
HasJsonPropertyName<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures the property of an entity mapped to a JSON column, mapping the entity property to a specific JSON property, rather than using the entity property name. |
IsFixedLength(PrimitiveCollectionBuilder, Boolean) |
Configures the property as capable of storing only fixed-length data, such as strings. |
IsFixedLength<TProperty>(PrimitiveCollectionBuilder<TProperty>, Boolean) |
Configures the property as capable of storing only fixed-length data, such as strings. |
UseCollation(PrimitiveCollectionBuilder, String) |
Configures the property to use the given collation. The database column will be created with the given collation, and it will be used implicitly in all collation-sensitive operations. |
UseCollation<TProperty>(PrimitiveCollectionBuilder<TProperty>, String) |
Configures the property to use the given collation. The database column will be created with the given collation, and it will be used implicitly in all collation-sensitive operations. |
Applies to
Entity Framework