RelationalElementTypeExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IElementType extension methods for relational database metadata.
public static class RelationalElementTypeExtensions
type RelationalElementTypeExtensions = class
Public Module RelationalElementTypeExtensions
- Inheritance
-
RelationalElementTypeExtensions
Remarks
See Modeling entity types and relationships for more information and examples.
Methods
FindRelationalTypeMapping(IReadOnlyElementType) |
Returns the RelationalTypeMapping for the given element on a finalized model. |
GetIsFixedLengthConfigurationSource(IConventionElementType) |
Gets the ConfigurationSource for IsFixedLength(IReadOnlyElementType). |
GetRelationalTypeMapping(IReadOnlyElementType) |
Returns the RelationalTypeMapping for the given element on a finalized model. |
GetStoreType(IElementType) |
Returns the database type of the elements. |
GetStoreType(IReadOnlyElementType) |
Returns the database type of the elements, or |
GetStoreTypeConfigurationSource(IConventionElementType) |
Gets the ConfigurationSource for the database type. |
IsFixedLength(IReadOnlyElementType) |
Returns a flag indicating whether the elements are capable of storing only fixed-length data, such as strings. |
IsFixedLength(IReadOnlyElementType, StoreObjectIdentifier) |
Returns a flag indicating whether the elements are capable of storing only fixed-length data, such as strings. |
SetIsFixedLength(IConventionElementType, Nullable<Boolean>, Boolean) |
Sets a flag indicating whether the elements are capable of storing only fixed-length data, such as strings. |
SetIsFixedLength(IMutableElementType, Nullable<Boolean>) |
Sets a flag indicating whether the elements are capable of storing only fixed-length data, such as strings. |
SetStoreType(IConventionElementType, String, Boolean) |
Sets the database type of the elements. |
SetStoreType(IMutableElementType, String) |
Sets the database type of the elements. |
Applies to
Entity Framework