共用方式為


RelationalTypeMappingInfo 結構

定義

描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。

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)
繼承
RelationalTypeMappingInfo
屬性
實作

備註

如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作

建構函式

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

建立 RelationalTypeMappingInfo 的新執行個體。

RelationalTypeMappingInfo(IProperty)

建立 RelationalTypeMappingInfo 的新執行個體。

RelationalTypeMappingInfo(IReadOnlyList<IProperty>)

建立 RelationalTypeMappingInfo 的新執行個體。

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

建立 RelationalTypeMappingInfo 的新執行個體。

RelationalTypeMappingInfo(MemberInfo)

建立 RelationalTypeMappingInfo 的新執行個體。

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

建立 RelationalTypeMappingInfo 的新執行個體。

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

建立 RelationalTypeMappingInfo 的新執行個體。

RelationalTypeMappingInfo(RelationalTypeMappingInfo, ValueConverterInfo)

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

RelationalTypeMappingInfo(String)

建立 RelationalTypeMappingInfo 的新執行個體。

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

建立 RelationalTypeMappingInfo 的新執行個體。

RelationalTypeMappingInfo(Type)

建立 RelationalTypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

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

建立 TypeMappingInfo 的新執行個體。

屬性

ClrType

模型中的 CLR 類型。

CoreTypeMappingInfo

核心類型對應資訊。

DbType

DbType對應的 。

ElementTypeMapping

對應的專案類型,如果有的話。

IsFixedLength

對應的資料類型是否為固定長度。

IsKeyOrIndex

指出對應是否為索引鍵或索引的一部分。

IsRowVersion

指出對應是否將用於資料列版本,如果 null 未定義,則為 。

IsUnicode

指出對應是否支援 Unicode,或 null 如果未定義則為 。

JsonValueReaderWriter

如果已提供 JSON 讀取器/寫入器,則 null 為 ,否則為 。

Precision

對應資料類型的建議有效位數。

Scale

對應資料類型的建議小數位數。

Size

表示要用於對應的存放區大小,如果沒有,則 null 為 。

StoreTypeName

需要對應之提供者特定的關聯式別名稱。

StoreTypeNameBase

提供者特定的關聯式類型名稱,移除任何 Facet。

StoreTypeNameSizeIsMax

True 如果存放區類型名稱結尾為 「 (max) 」。

方法

Equals(Object)

將此與 RelationalTypeMappingInfo 另一個比較,以檢查它們是否代表相同的對應。

Equals(RelationalTypeMappingInfo)

將此與 RelationalTypeMappingInfo 另一個比較,以檢查它們是否代表相同的對應。

GetHashCode()

傳回這個 物件的雜湊碼。

ToString()

描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。

WithConverter(ValueConverterInfo)

傳回套用指定轉換器的新 RelationalTypeMappingInfo

運算子

Equality(RelationalTypeMappingInfo, RelationalTypeMappingInfo)

描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。

Inequality(RelationalTypeMappingInfo, RelationalTypeMappingInfo)

描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。

適用於