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)

设置元素的数据库类型。

适用于