Sdílet prostřednictvím


TypeMaterializationInfo Konstruktory

Definice

Přetížení

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)
Zastaralé.

Vytvoří novou instanci sloupce TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>)

Vytvoří novou instanci sloupce TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)
Zastaralé.

Vytvoří novou instanci sloupce TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)
Zastaralé.

Vytvoří novou instanci sloupce TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)

Upozornění

Toto rozhraní API je teď zastaralé.

Vytvoří novou instanci sloupce TypeMaterializationInfo.

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, int index = -1);
[System.Obsolete]
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, int index = -1);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
[<System.Obsolete>]
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, typeMappingSource As IRelationalTypeMappingSource, Optional index As Integer = -1)

Parametry

modelClrType
Type

Typ, který je potřeba v modelu po převodu.

property
IProperty

Vlastnost přidružená k typu nebo null pokud žádná.

typeMappingSource
IRelationalTypeMappingSource

Zdroj mapování typu, který se má použít k vyhledání mapování, pokud vlastnost ještě nemá vazbu.

index
Int32

Index podkladové sady výsledků, která by měla být použita pro tento typ, nebo -1, pokud není potřeba mapování indexu.

Atributy

Platí pro

TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>)

Vytvoří novou instanci sloupce TypeMaterializationInfo.

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping, bool? nullable = default);
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping, bool? nullable = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Nullable<bool> -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, mapping As RelationalTypeMapping, Optional nullable As Nullable(Of Boolean) = Nothing)

Parametry

modelClrType
Type

Typ, který je potřeba v modelu po převodu.

property
IProperty

Vlastnost přidružená k typu nebo null pokud žádná.

mapping
RelationalTypeMapping

Mapování typu, které se má použít nebo null odvodit.

nullable
Nullable<Boolean>

Hodnota označující, zda může být hodnota null.

Platí pro

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)

Upozornění

Toto rozhraní API je teď zastaralé.

Vytvoří novou instanci sloupce TypeMaterializationInfo.

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index);
[System.Obsolete]
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
[<System.Obsolete>]
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, typeMappingSource As IRelationalTypeMappingSource, fromLeftOuterJoin As Nullable(Of Boolean), index As Integer)

Parametry

modelClrType
Type

Typ, který je potřeba v modelu po převodu.

property
IProperty

Vlastnost přidružená k typu nebo null pokud žádná.

typeMappingSource
IRelationalTypeMappingSource

Zdroj mapování typu, který se má použít k vyhledání mapování, pokud vlastnost ještě nemá vazbu.

fromLeftOuterJoin
Nullable<Boolean>

Určuje, jestli hodnota pochází z operace LEFT OUTER JOIN.

index
Int32

Index podkladové sady výsledků, která by měla být použita pro tento typ, nebo -1, pokud není potřeba mapování indexu.

Atributy

Platí pro

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)

Upozornění

Toto rozhraní API je teď zastaralé.

Vytvoří novou instanci sloupce TypeMaterializationInfo.

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index = -1, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping = default);
[System.Obsolete]
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index = -1, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
[<System.Obsolete>]
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, typeMappingSource As IRelationalTypeMappingSource, fromLeftOuterJoin As Nullable(Of Boolean), Optional index As Integer = -1, Optional mapping As RelationalTypeMapping = Nothing)

Parametry

modelClrType
Type

Typ, který je potřeba v modelu po převodu.

property
IProperty

Vlastnost přidružená k typu nebo null pokud žádná.

typeMappingSource
IRelationalTypeMappingSource

Zdroj mapování typu, který se má použít k vyhledání mapování, pokud vlastnost ještě nemá vazbu.

fromLeftOuterJoin
Nullable<Boolean>

Určuje, jestli hodnota pochází z operace LEFT OUTER JOIN.

index
Int32

Index podkladové sady výsledků, která by měla být použita pro tento typ, nebo -1, pokud není potřeba mapování indexu.

mapping
RelationalTypeMapping

Mapování typu, které se má použít nebo null odvodit.

Atributy

Platí pro