Partager via


TypeMaterializationInfo Constructeurs

Définition

Surcharges

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)
Obsolète.

Crée une instance TypeMaterializationInfo.

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

Crée une instance TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)
Obsolète.

Crée une instance TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)
Obsolète.

Crée une instance TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)

Attention

Cette API est à présent déconseillée.

Crée une instance 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)

Paramètres

modelClrType
Type

Type nécessaire dans le modèle après la conversion.

property
IProperty

Propriété associée au type, ou null si aucune propriété n’est associée.

typeMappingSource
IRelationalTypeMappingSource

Source de mappage de type à utiliser pour rechercher un mappage si la propriété n’en a pas déjà une.

index
Int32

Index du jeu de résultats sous-jacent qui doit être utilisé pour ce type, ou -1 si aucun mappage d’index n’est nécessaire.

Attributs

S’applique à

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

Crée une instance 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)

Paramètres

modelClrType
Type

Type nécessaire dans le modèle après la conversion.

property
IProperty

Propriété associée au type, ou null si aucune propriété n’est associée.

mapping
RelationalTypeMapping

Mappage de type à utiliser ou null à déduire.

nullable
Nullable<Boolean>

Valeur indiquant si la valeur peut être null.

S’applique à

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

Attention

Cette API est à présent déconseillée.

Crée une instance 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)

Paramètres

modelClrType
Type

Type nécessaire dans le modèle après la conversion.

property
IProperty

Propriété associée au type, ou null si aucune propriété n’est associée.

typeMappingSource
IRelationalTypeMappingSource

Source de mappage de type à utiliser pour rechercher un mappage si la propriété n’en a pas déjà une.

fromLeftOuterJoin
Nullable<Boolean>

Indique si la valeur provient ou non d’une opération LEFT OUTER JOIN.

index
Int32

Index du jeu de résultats sous-jacent qui doit être utilisé pour ce type, ou -1 si aucun mappage d’index n’est nécessaire.

Attributs

S’applique à

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

Attention

Cette API est à présent déconseillée.

Crée une instance 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)

Paramètres

modelClrType
Type

Type nécessaire dans le modèle après la conversion.

property
IProperty

Propriété associée au type, ou null si aucune propriété n’est associée.

typeMappingSource
IRelationalTypeMappingSource

Source de mappage de type à utiliser pour rechercher un mappage si la propriété n’en a pas déjà une.

fromLeftOuterJoin
Nullable<Boolean>

Indique si la valeur provient ou non d’une opération LEFT OUTER JOIN.

index
Int32

Index du jeu de résultats sous-jacent qui doit être utilisé pour ce type, ou -1 si aucun mappage d’index n’est nécessaire.

mapping
RelationalTypeMapping

Mappage de type à utiliser ou null à déduire.

Attributs

S’applique à