Freigeben über


TypeMappingInfo Konstruktoren

Definition

Überlädt

TypeMappingInfo(IProperty)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(IReadOnlyList<IProperty>)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(MemberInfo)

Erstellt eine neue Instanz von TypeMappingInfo.

TypeMappingInfo(Type)

Erstellt eine neue Instanz von TypeMappingInfo.

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

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, Nullable<Boolean>, Nullable<Int32>, 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.

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

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(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.

fallbackUnicode
Nullable<Boolean>

Gibt Unicode oder ANSI für die Zuordnung oder null den Standardwert an.

fallbackSize
Nullable<Int32>

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.

fallbackPrecision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung an, falls eine nicht auf der Kernebene oder null für die Standardebene gefunden wird.

fallbackScale
Nullable<Int32>

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.

fallbackUnicode
Nullable<Boolean>

Gibt Unicode oder ANSI für die Zuordnung oder null als Standard an.

fallbackSize
Nullable<Int32>

Gibt eine Größe für die Zuordnung an, falls eine nicht auf Der Kernebene oder null als Standard gefunden wird.

fallbackPrecision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung an, falls eine nicht auf Kernebene oder null als Standard gefunden wird.

fallbackScale
Nullable<Int32>

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.

unicode
Nullable<Boolean>

Gibt die Unicode- oder ANSI-Zuordnung oder null als Standard an.

size
Nullable<Int32>

Gibt eine Größe für die Zuordnung oder null als Standard an.

precision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung oder null für die Standardeinstellung an.

scale
Nullable<Int32>

Gibt eine Skalierung für die Zuordnung oder null als Standard 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.

unicode
Nullable<Boolean>

Gibt die Unicode- oder ANSI-Zuordnung oder null als Standard an.

size
Nullable<Int32>

Gibt eine Größe für die Zuordnung oder null als Standard an.

precision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung oder null für die Standardeinstellung an.

scale
Nullable<Int32>

Gibt eine Skalierung für die Zuordnung oder null als Standard 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.

unicode
Nullable<Boolean>

Gibt die Unicode- oder ANSI-Zuordnung oder null als Standard an.

size
Nullable<Int32>

Gibt eine Größe für die Zuordnung oder null als Standard an.

precision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung oder null für die Standardeinstellung an.

scale
Nullable<Int32>

Gibt eine Skalierung für die Zuordnung oder null als Standard 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.

unicode
Nullable<Boolean>

Gibt die Unicode- oder ANSI-Zuordnung oder null als Standard an.

size
Nullable<Int32>

Gibt eine Größe für die Zuordnung oder null als Standard an.

rowVersion
Nullable<Boolean>

Gibt eine Zeilenversion oder null als Standardversion an.

precision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung oder null für die Standardeinstellung an.

scale
Nullable<Int32>

Gibt eine Skalierung für die Zuordnung oder null als Standard 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.

unicode
Nullable<Boolean>

Gibt die Unicode- oder ANSI-Zuordnung oder null als Standard an.

size
Nullable<Int32>

Gibt eine Größe für die Zuordnung oder null als Standard an.

rowVersion
Nullable<Boolean>

Gibt eine Zeilenversion oder null als Standardversion an.

precision
Nullable<Int32>

Gibt eine Genauigkeit für die Zuordnung oder null für die Standardeinstellung an.

scale
Nullable<Int32>

Gibt eine Skalierung für die Zuordnung oder null als Standard an.

Gilt für: