Sdílet prostřednictvím


ShortTypeMapping Konstruktory

Definice

Přetížení

ShortTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Inicializuje novou instanci ShortTypeMapping třídy .

ShortTypeMapping(String, Nullable<DbType>)

Inicializuje novou instanci ShortTypeMapping třídy .

ShortTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Inicializuje novou instanci ShortTypeMapping třídy .

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)

Parametry

Platí pro

ShortTypeMapping(String, Nullable<DbType>)

Inicializuje novou instanci ShortTypeMapping třídy .

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)

Parametry

storeType
String

Název typu databáze.

dbType
Nullable<DbType>

Hodnota, DbType která se má použít.

Platí pro