共用方式為


TypeMappingInfo 建構函式

定義

多載

TypeMappingInfo(IProperty)

建立 TypeMappingInfo 的新執行個體。

TypeMappingInfo(IReadOnlyList<IProperty>)

建立 TypeMappingInfo 的新執行個體。

TypeMappingInfo(MemberInfo)

建立 TypeMappingInfo 的新執行個體。

TypeMappingInfo(Type)

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

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

使用指定的 ValueConverterInfo 建立 的新實例 TypeMappingInfo

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

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

TypeMappingInfo(IProperty)

建立 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)

參數

property
IProperty

需要對應的屬性。

適用於

TypeMappingInfo(IReadOnlyList<IProperty>)

建立 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))

參數

principals
IReadOnlyList<IProperty>

需要對應之屬性的主體屬性鏈結。

適用於

TypeMappingInfo(MemberInfo)

建立 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)

參數

member
MemberInfo

需要對應的屬性或欄位。

適用於

TypeMappingInfo(Type)

建立 TypeMappingInfo 的新執行個體。

public TypeMappingInfo (Type type);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (type As Type)

參數

type
Type

需要對應之模型中的 CLR 類型。

適用於

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

建立 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)

參數

elementType
IElementType

需要對應之屬性的集合專案。

fallbackUnicode
Nullable<Boolean>

指定對應或 null 預設值的 Unicode 或 ANSI。

fallbackSize
Nullable<Int32>

指定對應的大小,以防在核心層級 null 或預設值找不到對應的大小。

fallbackPrecision
Nullable<Int32>

指定對應的有效位數,以防在核心層級 null 或預設值找不到對應。

fallbackScale
Nullable<Int32>

指定對應的規模,以防在核心層級 null 或預設值找不到對應。

適用於

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

建立 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)

參數

principals
IReadOnlyList<IProperty>

需要對應之屬性的主體屬性鏈結。

fallbackUnicode
Nullable<Boolean>

指定對應或 null 預設值的 Unicode 或 ANSI。

fallbackSize
Nullable<Int32>

指定對應的大小,以防在核心層級 null 或預設找不到對應的大小。

fallbackPrecision
Nullable<Int32>

指定對應的有效位數,以防在核心層級 null 或預設值找不到對應。

fallbackScale
Nullable<Int32>

指定對應的規模,以防在核心層級 null 或預設值找不到對應。

適用於

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

建立 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)

參數

member
MemberInfo

需要對應的屬性或欄位。

unicode
Nullable<Boolean>

指定 Unicode 或 ANSI 對應,或 null 指定預設值。

size
Nullable<Int32>

指定對應的大小,或 null 指定預設值。

precision
Nullable<Int32>

指定對應的有效位數,或 null 指定預設值。

scale
Nullable<Int32>

指定對應 null 或預設值的縮放比例。

適用於

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

使用指定的 ValueConverterInfo 建立 的新實例 TypeMappingInfo

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)

參數

source
TypeMappingInfo

來源資訊。

converter
ValueConverterInfo

要套用的轉換器。

unicode
Nullable<Boolean>

指定 Unicode 或 ANSI 對應,或 null 指定預設值。

size
Nullable<Int32>

指定對應的大小,或 null 指定預設值。

precision
Nullable<Int32>

指定對應的有效位數,或 null 指定預設值。

scale
Nullable<Int32>

指定對應 null 或預設值的縮放比例。

適用於

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

建立 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)

參數

member
MemberInfo

需要對應的屬性或欄位。

elementTypeMapping
CoreTypeMapping

如果已知,專案的類型對應。

unicode
Nullable<Boolean>

指定 Unicode 或 ANSI 對應,或 null 指定預設值。

size
Nullable<Int32>

指定對應的大小,或 null 指定預設值。

precision
Nullable<Int32>

指定對應的有效位數,或 null 指定預設值。

scale
Nullable<Int32>

指定對應 null 或預設值的縮放比例。

適用於

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

建立 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)

參數

type
Type

需要對應之模型中的 CLR 類型。

keyOrIndex
Boolean

如果 true 為 ,則可能會傳回索引鍵或索引的特殊對應。

unicode
Nullable<Boolean>

指定 Unicode 或 ANSI 對應,或 null 指定預設值。

size
Nullable<Int32>

指定對應的大小,或 null 指定預設值。

rowVersion
Nullable<Boolean>

指定資料列版本或 null 預設值。

precision
Nullable<Int32>

指定對應的有效位數,或 null 指定預設值。

scale
Nullable<Int32>

指定對應 null 或預設值的縮放比例。

適用於

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

建立 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)

參數

type
Type

需要對應之模型中的 CLR 類型。

elementTypeMapping
CoreTypeMapping

如果已知,專案的類型對應。

keyOrIndex
Boolean

如果 true 為 ,則可能會傳回索引鍵或索引的特殊對應。

unicode
Nullable<Boolean>

指定 Unicode 或 ANSI 對應,或 null 指定預設值。

size
Nullable<Int32>

指定對應的大小,或 null 指定預設值。

rowVersion
Nullable<Boolean>

指定資料列版本或 null 預設值。

precision
Nullable<Int32>

指定對應的有效位數,或 null 指定預設值。

scale
Nullable<Int32>

指定對應 null 或預設值的縮放比例。

適用於