Share via


RelationalPropertyBuilderExtensions Class

Definition

Relational database specific extension methods for PropertyBuilder.

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

Remarks

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

Methods

CanSetCollation(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given value can be set as the collation.

CanSetColumnName(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given column can be set for the property.

CanSetColumnName(IConventionPropertyBuilder, String, StoreObjectIdentifier, Boolean)

Returns a value indicating whether the given column for a particular table-like store object can be set for the property.

CanSetColumnOrder(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

Gets a value indicating whether the given column order can be set for the property.

CanSetColumnType(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given data type can be set for the property.

CanSetComment(IConventionPropertyBuilder, Object, Boolean)

Returns a value indicating whether the given value can be set as comment for the column.

CanSetComment(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given value can be set as comment for the column.

CanSetComputedColumnSql(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given computed value SQL expression can be set for the column.

CanSetDefaultValue(IConventionPropertyBuilder, Object, Boolean)

Returns a value indicating whether the given value can be set as default for the column.

CanSetDefaultValueSql(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given default value expression can be set for the column.

CanSetIsFixedLength(IConventionPropertyBuilder, Nullable<Boolean>, Boolean)

Returns a value indicating whether the property can be configured as being fixed length or not.

CanSetIsStoredComputedColumn(IConventionPropertyBuilder, Nullable<Boolean>, Boolean)

Returns a value indicating whether the given computed column type can be set for the column.

CanSetJsonPropertyName(IConventionPropertyBuilder, String, Boolean)

Returns a value indicating whether the given value can be used as a JSON property name for a given entity property.

HasColumnName(IConventionPropertyBuilder, String, Boolean)

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

HasColumnName(IConventionPropertyBuilder, String, StoreObjectIdentifier, Boolean)

Configures the column that the property maps to in a particular table-like store object.

HasColumnName(PropertyBuilder, String)

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

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

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

HasColumnOrder(IConventionPropertyBuilder, Nullable<Int32>, Boolean)

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

HasColumnOrder(PropertyBuilder, Nullable<Int32>)

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

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

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

HasColumnType(IConventionPropertyBuilder, String, Boolean)

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(PropertyBuilder, 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>(PropertyBuilder<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(IConventionPropertyBuilder, String, Boolean)

Configures a comment to be applied to the column

HasComment(PropertyBuilder, String)

Configures a comment to be applied to the column

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

Configures a comment to be applied to the column

HasComputedColumnSql(IConventionPropertyBuilder, String, Boolean)

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

HasComputedColumnSql(PropertyBuilder, String, Nullable<Boolean>)

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

HasComputedColumnSql(PropertyBuilder, String)

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

HasComputedColumnSql(PropertyBuilder)

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

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

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

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

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

HasComputedColumnSql<TProperty>(PropertyBuilder<TProperty>)

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

HasDefaultValue(IConventionPropertyBuilder, Object, Boolean)

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

HasDefaultValue(PropertyBuilder, Object)

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

HasDefaultValue(PropertyBuilder)

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

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

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

HasDefaultValue<TProperty>(PropertyBuilder<TProperty>)

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

HasDefaultValueSql(IConventionPropertyBuilder, String, Boolean)

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

HasDefaultValueSql(PropertyBuilder, String)

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

HasDefaultValueSql(PropertyBuilder)

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

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

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

HasDefaultValueSql<TProperty>(PropertyBuilder<TProperty>)

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

HasJsonPropertyName(IConventionPropertyBuilder, String, Boolean)

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(PropertyBuilder, 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>(PropertyBuilder<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(IConventionPropertyBuilder, Nullable<Boolean>, Boolean)

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

IsFixedLength(PropertyBuilder, Boolean)

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

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

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

IsStoredComputedColumn(IConventionPropertyBuilder, Nullable<Boolean>, Boolean)

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

UseCollation(IConventionPropertyBuilder, String, Boolean)

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(PropertyBuilder, 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>(PropertyBuilder<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