RelationalTypeMappingInfo 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。
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
- 屬性
- 實作
備註
如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作 。
建構函式
屬性
ClrType |
模型中的 CLR 類型。 |
CoreTypeMappingInfo |
核心類型對應資訊。 |
DbType |
DbType對應的 。 |
ElementTypeMapping |
對應的專案類型,如果有的話。 |
IsFixedLength |
對應的資料類型是否為固定長度。 |
IsKeyOrIndex |
指出對應是否為索引鍵或索引的一部分。 |
IsRowVersion |
指出對應是否將用於資料列版本,如果 |
IsUnicode |
指出對應是否支援 Unicode,或 |
JsonValueReaderWriter |
如果已提供 JSON 讀取器/寫入器,則 |
Precision |
對應資料類型的建議有效位數。 |
Scale |
對應資料類型的建議小數位數。 |
Size |
表示要用於對應的存放區大小,如果沒有,則 |
StoreTypeName |
需要對應之提供者特定的關聯式別名稱。 |
StoreTypeNameBase |
提供者特定的關聯式類型名稱,移除任何 Facet。 |
StoreTypeNameSizeIsMax |
|
方法
Equals(Object) |
將此與 RelationalTypeMappingInfo 另一個比較,以檢查它們是否代表相同的對應。 |
Equals(RelationalTypeMappingInfo) |
將此與 RelationalTypeMappingInfo 另一個比較,以檢查它們是否代表相同的對應。 |
GetHashCode() |
傳回這個 物件的雜湊碼。 |
ToString() |
描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。 |
WithConverter(ValueConverterInfo) |
傳回套用指定轉換器的新 RelationalTypeMappingInfo 。 |
運算子
Equality(RelationalTypeMappingInfo, RelationalTypeMappingInfo) |
描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。 |
Inequality(RelationalTypeMappingInfo, RelationalTypeMappingInfo) |
描述決定屬性、類型或提供者特定關聯式類型名稱的關聯式類型對應所需的中繼資料。 |