Share via


RelationalTypeMapping.RelationalTypeMappingParameters Constructor

Definition

public RelationalTypeMappingParameters (Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters coreParameters, string storeType, Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix storeTypePostfix = Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix.None, System.Data.DbType? dbType = default, bool unicode = false, int? size = default, bool fixedLength = false, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters : Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters * string * Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix * Nullable<System.Data.DbType> * bool * Nullable<int> * bool * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters
Public Sub New (coreParameters As CoreTypeMapping.CoreTypeMappingParameters, storeType As String, Optional storeTypePostfix As StoreTypePostfix = Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix.None, Optional dbType As Nullable(Of DbType) = Nothing, Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing, Optional fixedLength As Boolean = false, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)

Parameters

coreParameters
CoreTypeMapping.CoreTypeMappingParameters

Parameters for the CoreTypeMapping base class.

storeType
String

The name of the database type.

storeTypePostfix
StoreTypePostfix

Indicates which values should be appended to the store type name.

dbType
Nullable<DbType>

The DbType to be used.

unicode
Boolean

A value indicating whether the type should handle Unicode data or not.

size
Nullable<Int32>

The size of data the property is configured to store, or null if no size is configured.

fixedLength
Boolean

A value indicating whether the type is constrained to fixed-length data.

precision
Nullable<Int32>

The precision of data the property is configured to store, or null if no size is configured.

scale
Nullable<Int32>

The scale of data the property is configured to store, or null if no size is configured.

Applies to