RelationalTypeMappingInfo Struktur

Definition

Beschreibt Metadaten, die erforderlich sind, um eine relationale Typzuordnung für einen Namen einer Eigenschaft, eines Typs oder eines anbieterspezifischen relationalen Typs zu entscheiden.

public readonly struct RelationalTypeMappingInfo : IEquatable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo>
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RelationalTypeMappingInfo : IEquatable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo>
type RelationalTypeMappingInfo = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type RelationalTypeMappingInfo = struct
Public Structure RelationalTypeMappingInfo
Implements IEquatable(Of RelationalTypeMappingInfo)
Vererbung
RelationalTypeMappingInfo
Attribute
Implementiert

Hinweise

Weitere Informationen und Beispiele finden Sie unter Implementierung von Datenbankanbietern und -erweiterungen .

Konstruktoren

RelationalTypeMappingInfo(IElementType, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(IProperty)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(IReadOnlyList<IProperty>)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(IReadOnlyList<IProperty>, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(MemberInfo)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(MemberInfo, RelationalTypeMapping, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(MemberInfo, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(RelationalTypeMappingInfo, ValueConverterInfo)

Erstellt eine neue instance von RelationalTypeMappingInfo mit dem angegebenen ValueConverterInfo.

RelationalTypeMappingInfo(String)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

RelationalTypeMappingInfo(Type)

Erstellt eine neue Instanz von RelationalTypeMappingInfo.

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.

RelationalTypeMappingInfo(Type, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

RelationalTypeMappingInfo(Type, String, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

Eigenschaften

ClrType

Der CLR-Typ im Modell.

CoreTypeMappingInfo

Die Informationen zur Kerntypzuordnung.

DbType

Die DbType der Zuordnung.

ElementTypeMapping

Der Elementtyp der Zuordnung, falls vorhanden.

IsFixedLength

Gibt an, ob der zugeordnete Datentyp eine feste Länge aufweist oder nicht.

IsKeyOrIndex

Gibt an, ob die Zuordnung Teil eines Schlüssels oder Indexes ist.

IsRowVersion

Gibt an, null ob die Zuordnung für eine Zeilenversion verwendet oder nicht definiert wird.

IsUnicode

Gibt an, ob die Zuordnung Unicode unterstützt oder null nicht definiert ist.

JsonValueReaderWriter

Der JSON-Reader/Writer, falls vorhanden oder null anderweitig.

Precision

Die vorgeschlagene Genauigkeit des zugeordneten Datentyps.

Scale

Die vorgeschlagene Skalierung des zugeordneten Datentyps.

Size

Gibt die Speichergröße an, die für die Zuordnung verwendet werden soll, oder null wenn keine vorhanden ist.

StoreTypeName

Der anbieterspezifische relationale Typname, für den eine Zuordnung erforderlich ist.

StoreTypeNameBase

Der anbieterspezifische relationale Typname, wobei alle Facetten entfernt wurden.

StoreTypeNameSizeIsMax

True , wenn der Name des Speichertyps auf "(max)" endet.

Methoden

Equals(Object)

Vergleicht dies RelationalTypeMappingInfo mit einer anderen, um zu überprüfen, ob sie dieselbe Zuordnung darstellen.

Equals(RelationalTypeMappingInfo)

Vergleicht dies RelationalTypeMappingInfo mit einer anderen, um zu überprüfen, ob sie dieselbe Zuordnung darstellen.

GetHashCode()

Gibt einen Hashcode für dieses Objekt zurück.

ToString()

Beschreibt Metadaten, die erforderlich sind, um eine relationale Typzuordnung für einen Namen einer Eigenschaft, eines Typs oder eines anbieterspezifischen relationalen Typs zu entscheiden.

WithConverter(ValueConverterInfo)

Gibt eine neue RelationalTypeMappingInfo zurück, wobei der angegebene Konverter angewendet wurde.

Operatoren

Equality(RelationalTypeMappingInfo, RelationalTypeMappingInfo)

Beschreibt Metadaten, die erforderlich sind, um eine relationale Typzuordnung für einen Namen einer Eigenschaft, eines Typs oder eines anbieterspezifischen relationalen Typs zu entscheiden.

Inequality(RelationalTypeMappingInfo, RelationalTypeMappingInfo)

Beschreibt Metadaten, die erforderlich sind, um eine relationale Typzuordnung für einen Namen einer Eigenschaft, eines Typs oder eines anbieterspezifischen relationalen Typs zu entscheiden.

Gilt für: