RelationalTypeMapping.RelationalTypeMappingParameters Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object.
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.
- unicode
- Boolean
A value indicating whether the type should handle Unicode data or not.
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.
The precision of data the property is configured to store, or null if no size is configured.
The scale of data the property is configured to store, or null if no size is configured.
Applies to
Entity Framework