RelationalTypeMappingInfo 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
RelationalTypeMappingInfo(IProperty)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (property As IProperty)
Parameter
- property
- IProperty
Die Eigenschaft, für die eine Zuordnung erforderlich ist.
Gilt für:
RelationalTypeMappingInfo(Type, RelationalTypeMapping, String, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<DbType>)
Erstellt eine neue Instanz von TypeMappingInfo.
public RelationalTypeMappingInfo (Type? type = default, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? elementTypeMapping = default, string? storeTypeName = default, string? storeTypeNameBase = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, bool? fixedLength = default, int? precision = default, int? scale = default, System.Data.DbType? dbType = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * string * string * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (Optional type As Type = Nothing, Optional elementTypeMapping As RelationalTypeMapping = Nothing, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = 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 fixedLength As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing, Optional dbType As Nullable(Of DbType) = Nothing)
Parameter
- type
- Type
Der CLR-Typ im Modell, für das die Zuordnung erforderlich ist.
- elementTypeMapping
- RelationalTypeMapping
Die Typzuordnung für Elemente, sofern bekannt.
- storeTypeName
- String
Der Name des Datenbanktyps.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
- keyOrIndex
- Boolean
Wenn true
, kann eine spezielle Zuordnung für einen Schlüssel oder Index zurückgegeben werden.
Gibt eine Genauigkeit für die Zuordnung oder null
für den Standardwert an.
Gibt eine Skalierung für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
RelationalTypeMappingInfo(Type, String, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public RelationalTypeMappingInfo (Type type, string storeTypeName = default, string storeTypeNameBase = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, bool? fixedLength = default, int? precision = default, int? scale = default);
public RelationalTypeMappingInfo (Type type, string? storeTypeName = default, string? storeTypeNameBase = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, bool? fixedLength = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type * string * string * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (type As Type, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = 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 fixedLength 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 die Zuordnung erforderlich ist.
- storeTypeName
- String
Der Name des Datenbanktyps.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
- keyOrIndex
- Boolean
Wenn true
, kann eine spezielle Zuordnung für einen Schlüssel oder Index zurückgegeben werden.
Gibt eine Genauigkeit für die Zuordnung oder null
für den Standardwert an.
Gibt eine Skalierung für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
RelationalTypeMappingInfo(Type, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von TypeMappingInfo.
public RelationalTypeMappingInfo (Type type, string storeTypeName, bool keyOrIndex, bool? unicode, int? size, bool? rowVersion, bool? fixedLength, int? precision, int? scale);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type * string * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (type As Type, storeTypeName As String, keyOrIndex As Boolean, unicode As Nullable(Of Boolean), size As Nullable(Of Integer), rowVersion As Nullable(Of Boolean), fixedLength As Nullable(Of Boolean), precision As Nullable(Of Integer), scale As Nullable(Of Integer))
Parameter
- type
- Type
Der CLR-Typ im Modell, für das die Zuordnung erforderlich ist.
- storeTypeName
- String
Der Name des Datenbanktyps.
- keyOrIndex
- Boolean
Wenn true
, kann eine spezielle Zuordnung für einen Schlüssel oder Index zurückgegeben werden.
Gibt eine Genauigkeit für die Zuordnung oder null
für den Standardwert an.
Gibt eine Skalierung für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
RelationalTypeMappingInfo(IReadOnlyList<IProperty>, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, string storeTypeName = default, string storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, string? storeTypeName = default, string? storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, string? storeTypeName = default, string? storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fallbackFixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty), Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fixedLength 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)
Public Sub New (principals As IReadOnlyList(Of IProperty), Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fallbackFixedLength 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.
- storeTypeName
- String
Der anbieterspezifische relationale Typname, für den die Zuordnung erforderlich ist.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
Gibt Unicode oder ANSI für die Zuordnung oder null
für die Standardeinstellung an.
Gibt eine Zuordnung mit fester Länge oder null
als Standard an.
Gibt eine Größe für die Zuordnung an, für den Fall, dass eine nicht auf der Kernebene oder null
als Standard gefunden wird.
Gibt eine Genauigkeit für die Zuordnung an, für den Fall, dass eine nicht auf der Kernebene oder null
als Standard gefunden wird.
Gibt eine Skalierung für die Zuordnung an, für den Fall, dass eine nicht auf der Kernebene oder null
als Standard gefunden wird.
Gilt für:
RelationalTypeMappingInfo(MemberInfo, RelationalTypeMapping, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? elementTypeMapping = default, string? storeTypeName = default, string? storeTypeNameBase = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (member As MemberInfo, Optional elementTypeMapping As RelationalTypeMapping = Nothing, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = 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 die die Zuordnung erforderlich ist.
- elementTypeMapping
- RelationalTypeMapping
Die Typzuordnung für Elemente, sofern bekannt.
- storeTypeName
- String
Der anbieterspezifische relationale Typname, für den die Zuordnung erforderlich ist.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
Gibt eine Genauigkeit für die Zuordnung oder null
für den Standardwert an.
Gibt eine Skalierung für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
RelationalTypeMappingInfo(MemberInfo, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member, string storeTypeName = default, string storeTypeNameBase = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member, string? storeTypeName = default, string? storeTypeNameBase = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Reflection.MemberInfo * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (member As MemberInfo, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = 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 die die Zuordnung erforderlich ist.
- storeTypeName
- String
Der anbieterspezifische relationale Typname, für den die Zuordnung erforderlich ist.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
Gibt eine Genauigkeit für die Zuordnung oder null
für den Standardwert an.
Gibt eine Skalierung für die Zuordnung oder null
für die Standardeinstellung an.
Gilt für:
RelationalTypeMappingInfo(IElementType, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IElementType elementType, string? storeTypeName = default, string? storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fallbackFixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IElementType * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (elementType As IElementType, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fallbackFixedLength 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 das die Zuordnung erforderlich ist.
- storeTypeName
- String
Der anbieterspezifische relationale Typname, für den die Zuordnung erforderlich ist.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
Gibt Unicode oder ANSI für die Zuordnung oder null
für die Standardeinstellung an.
Gibt eine Zuordnung mit fester Länge oder null
für 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, für den Fall, dass eine nicht auf der Kernebene oder null
für die Standardebene gefunden wird.
Gibt eine Skalierung für die Zuordnung an, für den Fall, dass eine nicht auf der Kernebene oder null
für die Standardebene gefunden wird.
Gilt für:
RelationalTypeMappingInfo(RelationalTypeMappingInfo, ValueConverterInfo)
Erstellt eine neue instance von RelationalTypeMappingInfo mit dem angegebenen ValueConverterInfo.
public RelationalTypeMappingInfo (in Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo source, in Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo converter);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : RelationalTypeMappingInfo * ValueConverterInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (ByRef source As RelationalTypeMappingInfo, ByRef converter As ValueConverterInfo)
Parameter
- source
- RelationalTypeMappingInfo
Die Quellinformationen.
- converter
- ValueConverterInfo
Der anzuwendende Konverter.
Gilt für:
RelationalTypeMappingInfo(Type)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (Type type);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (type As Type)
Parameter
- type
- Type
Der CLR-Typ im Modell, für das die Zuordnung erforderlich ist.
Gilt für:
RelationalTypeMappingInfo(String)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (string storeTypeName);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : string -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (storeTypeName As String)
Parameter
- storeTypeName
- String
Der anbieterspezifische relationale Typname, für den die Zuordnung erforderlich ist.
Gilt für:
RelationalTypeMappingInfo(MemberInfo)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (member As MemberInfo)
Parameter
- member
- MemberInfo
Die Eigenschaft oder das Feld, für die die Zuordnung erforderlich ist.
Gilt für:
RelationalTypeMappingInfo(IReadOnlyList<IProperty>)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
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:
RelationalTypeMappingInfo(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Erstellt eine neue Instanz von RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (string storeTypeName, string storeTypeNameBase, bool? unicode, int? size, int? precision, int? scale);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (storeTypeName As String, storeTypeNameBase As String, unicode As Nullable(Of Boolean), size As Nullable(Of Integer), precision As Nullable(Of Integer), scale As Nullable(Of Integer))
Parameter
- storeTypeName
- String
Der anbieterspezifische relationale Typname, für den die Zuordnung erforderlich ist.
- storeTypeNameBase
- String
Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.
Gibt eine Genauigkeit für die Zuordnung oder null
für den Standardwert an.
Gibt eine Skalierung 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