RelationalForeignKeyExtensions 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.
Foreign key extension methods for relational database metadata.
public static class RelationalForeignKeyExtensions
type RelationalForeignKeyExtensions = class
Public Module RelationalForeignKeyExtensions
- Inheritance
-
RelationalForeignKeyExtensions
Remarks
See Modeling entity types and relationships for more information and examples.
Methods
FindSharedObjectRootForeignKey(IConventionForeignKey, StoreObjectIdentifier) |
Finds the first IConventionForeignKey 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. |
FindSharedObjectRootForeignKey(IForeignKey, StoreObjectIdentifier) |
Finds the first IConventionForeignKey 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. |
FindSharedObjectRootForeignKey(IMutableForeignKey, StoreObjectIdentifier) |
Finds the first IMutableForeignKey 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. |
FindSharedObjectRootForeignKey(IReadOnlyForeignKey, StoreObjectIdentifier) |
Finds the first IForeignKey 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. |
GetConstraintName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier) |
Returns the foreign key constraint name. |
GetConstraintName(IForeignKey) |
Returns the foreign key constraint name. |
GetConstraintName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier) |
Returns the foreign key constraint name. |
GetConstraintName(IReadOnlyForeignKey) |
Returns the foreign key constraint name. |
GetConstraintNameConfigurationSource(IConventionForeignKey) |
Gets the ConfigurationSource for the constraint name. |
GetDefaultName(IForeignKey, StoreObjectIdentifier, StoreObjectIdentifier) |
Returns the default constraint name that would be used for this foreign key. |
GetDefaultName(IForeignKey) |
Returns the default constraint name that would be used for this foreign key. |
GetDefaultName(IReadOnlyForeignKey, StoreObjectIdentifier, StoreObjectIdentifier) |
Returns the default constraint name that would be used for this foreign key. |
GetDefaultName(IReadOnlyForeignKey) |
Returns the default constraint name that would be used for this foreign key. |
GetMappedConstraints(IForeignKey) |
Gets the foreign key constraints to which the foreign key is mapped. |
IsRowInternal(IReadOnlyForeignKey, StoreObjectIdentifier) |
Returns a value indicating whether this foreign key is between two entity types sharing the same table-like store object. |
SetConstraintName(IConventionForeignKey, String, Boolean) |
Sets the foreign key constraint name. |
SetConstraintName(IMutableForeignKey, String) |
Sets the foreign key constraint name. |
Applies to
Entity Framework