RelationalElementTypeExtensions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
IElementType 關係資料庫中繼資料的擴充方法。
public static class RelationalElementTypeExtensions
type RelationalElementTypeExtensions = class
Public Module RelationalElementTypeExtensions
- 繼承
-
RelationalElementTypeExtensions
備註
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。
方法
FindRelationalTypeMapping(IReadOnlyElementType) |
傳 RelationalTypeMapping 回已完成模型上指定專案的 。 |
GetIsFixedLengthConfigurationSource(IConventionElementType) |
取得 的 ConfigurationSourceIsFixedLength(IReadOnlyElementType) 。 |
GetRelationalTypeMapping(IReadOnlyElementType) |
傳 RelationalTypeMapping 回已完成模型上指定專案的 。 |
GetStoreType(IElementType) |
傳回專案的資料庫類型。 |
GetStoreType(IReadOnlyElementType) |
傳回元素的資料庫類型,如果找不到資料庫類型,則 |
GetStoreTypeConfigurationSource(IConventionElementType) |
ConfigurationSource取得資料庫類型的 。 |
IsFixedLength(IReadOnlyElementType) |
傳回旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。 |
IsFixedLength(IReadOnlyElementType, StoreObjectIdentifier) |
傳回旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。 |
SetIsFixedLength(IConventionElementType, Nullable<Boolean>, Boolean) |
設定旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。 |
SetIsFixedLength(IMutableElementType, Nullable<Boolean>) |
設定旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。 |
SetStoreType(IConventionElementType, String, Boolean) |
設定專案的資料庫類型。 |
SetStoreType(IMutableElementType, String) |
設定專案的資料庫類型。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應