RelationalTypeMappingConfigurationBuilderExtensions Class

Definition

Relational database specific extension methods for TypeMappingConfigurationBuilder.

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

Remarks

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

Methods

HasColumnType(TypeMappingConfigurationBuilder, String)

Configures the data type of the column that the scalar maps to when targeting a relational database. This should be the complete type name, including precision, scale, length, etc.

HasColumnType<TScalar>(TypeMappingConfigurationBuilder<TScalar>, String)

Configures the data type of the column that the scalar maps to when targeting a relational database. This should be the complete type name, including precision, scale, length, etc.

IsFixedLength(TypeMappingConfigurationBuilder, Boolean)

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

IsFixedLength<TScalar>(TypeMappingConfigurationBuilder<TScalar>, Boolean)

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

Applies to