RelationalElementTypeExtensions 類別

定義

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)

傳回元素的資料庫類型,如果找不到資料庫類型,則 null 傳回 。

GetStoreTypeConfigurationSource(IConventionElementType)

ConfigurationSource取得資料庫類型的 。

IsFixedLength(IReadOnlyElementType)

傳回旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。

IsFixedLength(IReadOnlyElementType, StoreObjectIdentifier)

傳回旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。

SetIsFixedLength(IConventionElementType, Nullable<Boolean>, Boolean)

設定旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。

SetIsFixedLength(IMutableElementType, Nullable<Boolean>)

設定旗標,指出專案是否能夠只儲存固定長度的資料,例如字串。

SetStoreType(IConventionElementType, String, Boolean)

設定專案的資料庫類型。

SetStoreType(IMutableElementType, String)

設定專案的資料庫類型。

適用於