RelationalKeyExtensions Class

Definition

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)

Returns the default key constraint name that would be used for this key.

GetDefaultName(IKey, 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.

GetDefaultName(IReadOnlyKey, StoreObjectIdentifier)

Returns the default key constraint name that would be used for this key for a particular table.

GetMappedConstraints(IKey)

Gets the unique constraints to which the key is mapped.

GetName(IKey)

Returns the key constraint name for this key.

GetName(IKey, StoreObjectIdentifier)

Returns the key constraint name for this key for a particular table.

GetName(IReadOnlyKey)

Returns the key constraint name for this key.

GetName(IReadOnlyKey, StoreObjectIdentifier)

Returns the key constraint name for this key for a particular table.

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