Share via


ShortTypeMapping Constructors

Definition

Overloads

ShortTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the ShortTypeMapping class.

ShortTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the ShortTypeMapping class.

ShortTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the ShortTypeMapping class.

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

Parameters

Applies to

ShortTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the ShortTypeMapping class.

public ShortTypeMapping (string storeType, System.Data.DbType? dbType = default);
public ShortTypeMapping (string storeType, System.Data.DbType? dbType = 10);
new Microsoft.EntityFrameworkCore.Storage.ShortTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.ShortTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing)
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = 10)

Parameters

storeType
String

The name of the database type.

dbType
Nullable<DbType>

The DbType to be used.

Applies to