RelationalComplexTypePropertyBuilderExtensions Class

Definition

Relational database specific extension methods for ComplexTypePropertyBuilder.

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

Remarks

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

Methods

HasColumnName(ComplexTypePropertyBuilder, String)

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

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

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

HasColumnOrder(ComplexTypePropertyBuilder, Nullable<Int32>)

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

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

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

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

Configures a comment to be applied to the column

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

Configures a comment to be applied to the column

HasComputedColumnSql(ComplexTypePropertyBuilder)

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

HasComputedColumnSql(ComplexTypePropertyBuilder, String)

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

HasComputedColumnSql(ComplexTypePropertyBuilder, String, Nullable<Boolean>)

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

HasComputedColumnSql<TProperty>(ComplexTypePropertyBuilder<TProperty>)

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

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

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

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

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

HasDefaultValue(ComplexTypePropertyBuilder)

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

HasDefaultValue(ComplexTypePropertyBuilder, Object)

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

HasDefaultValue<TProperty>(ComplexTypePropertyBuilder<TProperty>)

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

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

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

HasDefaultValueSql(ComplexTypePropertyBuilder)

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

HasDefaultValueSql(ComplexTypePropertyBuilder, String)

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

HasDefaultValueSql<TProperty>(ComplexTypePropertyBuilder<TProperty>)

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

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

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

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

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

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

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

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