TypeMappingInfo Struktur

Definition

Beschreibt Metadaten, die erforderlich sind, um eine Typzuordnung für eine Eigenschaft oder einen Typ zu entscheiden.

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

Hinweise

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

Konstruktoren

TypeMappingInfo(IElementType, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(IProperty)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(IReadOnlyList<IProperty>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(IReadOnlyList<IProperty>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(MemberInfo)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(MemberInfo, CoreTypeMapping, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(MemberInfo, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(Type)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(Type, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(Type, CoreTypeMapping, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(TypeMappingInfo, ValueConverterInfo, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Erstellt eine neue instance von TypeMappingInfo mit dem angegebenen ValueConverterInfo.

Eigenschaften

ClrType

Der CLR-Typ im Modell. Kann NULL sein, wenn Typinformationen auf andere Weise übermittelt werden (z. B. der Speichername in einer relationalen Typzuordnungsinformation).

ElementTypeMapping

Die Elementtypzuordnung der Zuordnung, falls vorhanden.

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.

Methoden

Equals(Object)

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

Equals(TypeMappingInfo)

Vergleicht dies TypeMappingInfo 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 Typzuordnung für eine Eigenschaft oder einen Typ zu entscheiden.

WithConverter(ValueConverterInfo)

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

Operatoren

Equality(TypeMappingInfo, TypeMappingInfo)

Beschreibt Metadaten, die erforderlich sind, um eine Typzuordnung für eine Eigenschaft oder einen Typ zu entscheiden.

Inequality(TypeMappingInfo, TypeMappingInfo)

Beschreibt Metadaten, die erforderlich sind, um eine Typzuordnung für eine Eigenschaft oder einen Typ zu entscheiden.

Gilt für: