TypeMaterializationInfo Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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.
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.
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.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour