TypeMaterializationInfo Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32) |
Veraltet.
Erstellt eine neue TypeMaterializationInfo-Instanz. |
TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>) |
Erstellt eine neue TypeMaterializationInfo-Instanz. |
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32) |
Veraltet.
Erstellt eine neue TypeMaterializationInfo-Instanz. |
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping) |
Veraltet.
Erstellt eine neue TypeMaterializationInfo-Instanz. |
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)
Achtung
Diese API ist nun veraltet.
Erstellt eine neue TypeMaterializationInfo-Instanz.
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)
Parameter
- modelClrType
- Type
Der Typ, der im Modell nach der Konvertierung benötigt wird.
- property
- IProperty
Die dem Typ zugeordnete Eigenschaft, oder null
, wenn keine.
- typeMappingSource
- IRelationalTypeMappingSource
Die Typzuordnungsquelle, die verwendet werden soll, um eine Zuordnung zu finden, wenn die Eigenschaft noch keine bindungsgebunden hat.
- index
- Int32
Der Index des zugrunde liegenden Resultsets, das für diesen Typ verwendet werden soll, oder -1, wenn keine Indexzuordnung erforderlich ist.
- Attribute
Gilt für:
TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>)
Erstellt eine neue TypeMaterializationInfo-Instanz.
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)
Parameter
- modelClrType
- Type
Der Typ, der im Modell nach der Konvertierung benötigt wird.
- property
- IProperty
Die dem Typ zugeordnete Eigenschaft, oder null
, wenn keine.
- mapping
- RelationalTypeMapping
Die Typzuordnung, die verwendet oder null
abgeleitet werden soll.
Gilt für:
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)
Achtung
Diese API ist nun veraltet.
Erstellt eine neue TypeMaterializationInfo-Instanz.
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)
Parameter
- modelClrType
- Type
Der Typ, der im Modell nach der Konvertierung benötigt wird.
- property
- IProperty
Die dem Typ zugeordnete Eigenschaft, oder null
, wenn keine.
- typeMappingSource
- IRelationalTypeMappingSource
Die Typzuordnungsquelle, die verwendet werden soll, um eine Zuordnung zu finden, wenn die Eigenschaft noch keine bindungsgebunden hat.
Gibt an, ob der Wert aus einem LEFT OUTER JOIN-Vorgang stammt oder nicht.
- index
- Int32
Der Index des zugrunde liegenden Resultsets, das für diesen Typ verwendet werden soll, oder -1, wenn keine Indexzuordnung erforderlich ist.
- Attribute
Gilt für:
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)
Achtung
Diese API ist nun veraltet.
Erstellt eine neue TypeMaterializationInfo-Instanz.
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)
Parameter
- modelClrType
- Type
Der Typ, der im Modell nach der Konvertierung benötigt wird.
- property
- IProperty
Die dem Typ zugeordnete Eigenschaft, oder null
, wenn keine.
- typeMappingSource
- IRelationalTypeMappingSource
Die Typzuordnungsquelle, die verwendet werden soll, um eine Zuordnung zu finden, wenn die Eigenschaft noch keine bindungsgebunden hat.
Gibt an, ob der Wert aus einem LEFT OUTER JOIN-Vorgang stammt oder nicht.
- index
- Int32
Der Index des zugrunde liegenden Resultsets, das für diesen Typ verwendet werden soll, oder -1, wenn keine Indexzuordnung erforderlich ist.
- mapping
- RelationalTypeMapping
Die Typzuordnung, die verwendet oder null
abgeleitet werden soll.
- Attribute
Gilt für:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für