TypeMappingInfo 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
TypeMappingInfo(IProperty)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (property As IProperty)
Parameter
- property
- IProperty
Die Eigenschaft, für die eine Zuordnung erforderlich ist.
Gilt für:
TypeMappingInfo(IReadOnlyList<IProperty>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty))
Parameter
- principals
- IReadOnlyList<IProperty>
Die Prinzipaleigenschaftskette für die Eigenschaft, für die eine Zuordnung erforderlich ist.
Gilt für:
TypeMappingInfo(MemberInfo)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (System.Reflection.MemberInfo member);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (member As MemberInfo)
Parameter
- member
- MemberInfo
Die Eigenschaft oder das Feld, für das eine Zuordnung erforderlich ist.
Gilt für:
TypeMappingInfo(Type)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (Type type);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (type As Type)
Parameter
- type
- Type
Der CLR-Typ im Modell, für das eine Zuordnung erforderlich ist.
Gilt für:
TypeMappingInfo(IElementType, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IElementType elementType, bool? fallbackUnicode = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IElementType * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (elementType As IElementType, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fallbackSize As Nullable(Of Integer) = Nothing, Optional fallbackPrecision As Nullable(Of Integer) = Nothing, Optional fallbackScale As Nullable(Of Integer) = Nothing)
Parameter
- elementType
- IElementType
Das Auflistungselement für die Eigenschaft, für die eine Zuordnung erforderlich ist.
Gibt Unicode oder ANSI für die Zuordnung oder null
den Standardwert an.
Gibt eine Größe für die Zuordnung an, für den Fall, dass eine nicht auf Der Kernebene oder null
für die Standardebene gefunden wird.
Gibt eine Genauigkeit für die Zuordnung an, falls eine nicht auf der Kernebene oder null
für die Standardebene gefunden wird.
Gibt eine Skalierung für die Zuordnung an, falls eine nicht auf der Kernebene oder null
für den Standard gefunden wird.
Gilt für:
TypeMappingInfo(IReadOnlyList<IProperty>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, bool? fallbackUnicode = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty), Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fallbackSize As Nullable(Of Integer) = Nothing, Optional fallbackPrecision As Nullable(Of Integer) = Nothing, Optional fallbackScale As Nullable(Of Integer) = Nothing)
Parameter
- principals
- IReadOnlyList<IProperty>
Die Prinzipaleigenschaftskette für die Eigenschaft, für die eine Zuordnung erforderlich ist.
Gibt Unicode oder ANSI für die Zuordnung oder null
als Standard an.
Gibt eine Größe für die Zuordnung an, falls eine nicht auf Der Kernebene oder null
als Standard gefunden wird.
Gibt eine Genauigkeit für die Zuordnung an, falls eine nicht auf Kernebene oder null
als Standard gefunden wird.
Gibt eine Skalierung für die Zuordnung an, falls eine nicht auf Kernebene oder null
als Standard gefunden wird.
Gilt für:
TypeMappingInfo(MemberInfo, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (System.Reflection.MemberInfo member, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Reflection.MemberInfo * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (member As MemberInfo, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parameter
- member
- MemberInfo
Die Eigenschaft oder das Feld, für das eine Zuordnung erforderlich ist.
Gibt eine Genauigkeit für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
TypeMappingInfo(TypeMappingInfo, ValueConverterInfo, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue instance von TypeMappingInfo mit dem angegebenen ValueConverterInfo.
public TypeMappingInfo (Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo source, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo converter, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (source As TypeMappingInfo, converter As ValueConverterInfo, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parameter
- source
- TypeMappingInfo
Die Quellinformationen.
- converter
- ValueConverterInfo
Der anzuwendende Konverter.
Gibt eine Genauigkeit für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
TypeMappingInfo(MemberInfo, CoreTypeMapping, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (System.Reflection.MemberInfo member, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? elementTypeMapping = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (member As MemberInfo, Optional elementTypeMapping As CoreTypeMapping = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parameter
- member
- MemberInfo
Die Eigenschaft oder das Feld, für das eine Zuordnung erforderlich ist.
- elementTypeMapping
- CoreTypeMapping
Die Typzuordnung für Elemente, sofern bekannt.
Gibt eine Genauigkeit für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
TypeMappingInfo(Type, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (Type type, bool keyOrIndex, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
public TypeMappingInfo (Type type = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
public TypeMappingInfo (Type? type = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (type As Type, keyOrIndex As Boolean, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional rowVersion As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Public Sub New (Optional type As Type = Nothing, Optional keyOrIndex As Boolean = false, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional rowVersion As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parameter
- type
- Type
Der CLR-Typ im Modell, für das eine Zuordnung erforderlich ist.
- keyOrIndex
- Boolean
Wenn true
, wird möglicherweise eine spezielle Zuordnung für einen Schlüssel oder Index zurückgegeben.
Gibt eine Genauigkeit für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
TypeMappingInfo(Type, CoreTypeMapping, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public TypeMappingInfo (Type? type = default, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? elementTypeMapping = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (Optional type As Type = Nothing, Optional elementTypeMapping As CoreTypeMapping = Nothing, Optional keyOrIndex As Boolean = false, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional rowVersion As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parameter
- type
- Type
Der CLR-Typ im Modell, für das eine Zuordnung erforderlich ist.
- elementTypeMapping
- CoreTypeMapping
Die Typzuordnung für Elemente, sofern bekannt.
- keyOrIndex
- Boolean
Wenn true
, wird möglicherweise eine spezielle Zuordnung für einen Schlüssel oder Index zurückgegeben.
Gibt eine Genauigkeit für die Zuordnung oder null
für die Standardeinstellung an.
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