RelationalKeyExtensions 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.
Key extension methods for relational database metadata.
public static class RelationalKeyExtensions
type RelationalKeyExtensions = class
Public Module RelationalKeyExtensions
- Inheritance
-
RelationalKeyExtensions
Remarks
See Keys for more information and examples.
Methods
FindSharedObjectRootKey(IConventionKey, StoreObjectIdentifier) |
Finds the first IConventionKey that is mapped to the same constraint in a shared table-like object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
FindSharedObjectRootKey(IKey, StoreObjectIdentifier) |
Finds the first IConventionKey that is mapped to the same constraint in a shared table-like object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
FindSharedObjectRootKey(IMutableKey, StoreObjectIdentifier) |
Finds the first IMutableKey that is mapped to the same constraint in a shared table-like object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
FindSharedObjectRootKey(IReadOnlyKey, StoreObjectIdentifier) |
Finds the first IKey that is mapped to the same constraint in a shared table-like object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetDefaultName(IKey, StoreObjectIdentifier) |
Returns the default key constraint name that would be used for this key for a particular table. |
GetDefaultName(IKey) |
Returns the default key constraint name that would be used for this key. |
GetDefaultName(IReadOnlyKey, StoreObjectIdentifier) |
Returns the default key constraint name that would be used for this key for a particular table. |
GetDefaultName(IReadOnlyKey) |
Returns the default key constraint name that would be used for this key. |
GetMappedConstraints(IKey) |
Gets the unique constraints to which the key is mapped. |
GetName(IKey, StoreObjectIdentifier) |
Returns the key constraint name for this key for a particular table. |
GetName(IKey) |
Returns the key constraint name for this key. |
GetName(IReadOnlyKey, StoreObjectIdentifier) |
Returns the key constraint name for this key for a particular table. |
GetName(IReadOnlyKey) |
Returns the key constraint name for this key. |
GetNameConfigurationSource(IConventionKey) |
Gets the ConfigurationSource for the constraint name. |
SetName(IConventionKey, String, Boolean) |
Sets the key constraint name for this key. |
SetName(IMutableKey, String) |
Sets the key constraint name for this key. |
Applies to
Entity Framework