RelationalComplexTypePrimitiveCollectionBuilderExtensions Class

Definition

Relational database specific extension methods for ComplexTypePrimitiveCollectionBuilder.

public static class RelationalComplexTypePrimitiveCollectionBuilderExtensions
type RelationalComplexTypePrimitiveCollectionBuilderExtensions = class
Public Module RelationalComplexTypePrimitiveCollectionBuilderExtensions
Inheritance
RelationalComplexTypePrimitiveCollectionBuilderExtensions

Remarks

See Modeling entity types and relationships for more information and examples.

Methods

HasColumnName(ComplexTypePrimitiveCollectionBuilder, String)

Configures the column that the property maps to when targeting a relational database.

HasColumnName<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String)

Configures the column that the property maps to when targeting a relational database.

HasColumnOrder(ComplexTypePrimitiveCollectionBuilder, Nullable<Int32>)

Configures the order of the column the property is mapped to.

HasColumnOrder<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, Nullable<Int32>)

Configures the order of the column the property is mapped to.

HasColumnType(ComplexTypePrimitiveCollectionBuilder, 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>(ComplexTypePrimitiveCollectionBuilder<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(ComplexTypePrimitiveCollectionBuilder, String)

Configures a comment to be applied to the column

HasComment<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String)

Configures a comment to be applied to the column

HasComputedColumnSql(ComplexTypePrimitiveCollectionBuilder)

Configures the property to map to a computed column when targeting a relational database.

HasComputedColumnSql(ComplexTypePrimitiveCollectionBuilder, String)

Configures the property to map to a computed column when targeting a relational database.

HasComputedColumnSql(ComplexTypePrimitiveCollectionBuilder, String, Nullable<Boolean>)

Configures the property to map to a computed column when targeting a relational database.

HasComputedColumnSql<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>)

Configures the property to map to a computed column when targeting a relational database.

HasComputedColumnSql<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String)

Configures the property to map to a computed column when targeting a relational database.

HasComputedColumnSql<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String, Nullable<Boolean>)

Configures the property to map to a computed column when targeting a relational database.

HasDefaultValue(ComplexTypePrimitiveCollectionBuilder)

Configures the default value for the column that the property maps to when targeting a relational database.

HasDefaultValue(ComplexTypePrimitiveCollectionBuilder, Object)

Configures the default value for the column that the property maps to when targeting a relational database.

HasDefaultValue<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>)

Configures the default value for the column that the property maps to when targeting a relational database.

HasDefaultValue<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, Object)

Configures the default value for the column that the property maps to when targeting a relational database.

HasDefaultValueSql(ComplexTypePrimitiveCollectionBuilder)

Configures the default value expression for the column that the property maps to when targeting a relational database.

HasDefaultValueSql(ComplexTypePrimitiveCollectionBuilder, String)

Configures the default value expression for the column that the property maps to when targeting a relational database.

HasDefaultValueSql<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>)

Configures the default value expression for the column that the property maps to when targeting a relational database.

HasDefaultValueSql<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String)

Configures the default value expression for the column that the property maps to when targeting a relational database.

HasJsonPropertyName(ComplexTypePrimitiveCollectionBuilder, 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>(ComplexTypePrimitiveCollectionBuilder<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(ComplexTypePrimitiveCollectionBuilder, Boolean)

Configures the property as capable of storing only fixed-length data, such as strings.

IsFixedLength<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, Boolean)

Configures the property as capable of storing only fixed-length data, such as strings.

UseCollation(ComplexTypePrimitiveCollectionBuilder, 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>(ComplexTypePrimitiveCollectionBuilder<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