StringTypeMapping Constructors

Definition

Overloads

StringTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the StringTypeMapping class.

StringTypeMapping(String, Nullable<DbType>, Boolean, Nullable<Int32>)

Initializes a new instance of the StringTypeMapping class.

StringTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the StringTypeMapping class.

protected StringTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.StringTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.StringTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)

Parameters

Applies to

StringTypeMapping(String, Nullable<DbType>, Boolean, Nullable<Int32>)

Initializes a new instance of the StringTypeMapping class.

public StringTypeMapping (string storeType, System.Data.DbType? dbType = default, bool unicode = false, int? size = default);
public StringTypeMapping (string storeType, System.Data.DbType? dbType, bool unicode = false, int? size = default);
new Microsoft.EntityFrameworkCore.Storage.StringTypeMapping : string * Nullable<System.Data.DbType> * bool * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.StringTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing, Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing)
Public Sub New (storeType As String, dbType As Nullable(Of DbType), Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing)

Parameters

storeType
String

The name of the database type.

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.

Applies to