RelationalForeignKeyExtensions Class
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
See Modeling entity types and relationships for more information and examples.
Find |
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. |
Find |
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. |
Find |
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. |
Find |
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. |
Get |
Returns the foreign key constraint name. |
Get |
Returns the foreign key constraint name. |
Get |
Returns the foreign key constraint name. |
Get |
Returns the foreign key constraint name. |
Get |
Gets the ConfigurationSource for the constraint name. |
Get |
Returns the default constraint name that would be used for this foreign key. |
Get |
Returns the default constraint name that would be used for this foreign key. |
Get |
Returns the default constraint name that would be used for this foreign key. |
Get |
Returns the default constraint name that would be used for this foreign key. |
Get |
Gets the foreign key constraints to which the foreign key is mapped. |
Is |
Returns a value indicating whether this foreign key is between two entity types sharing the same table-like store object. |
Set |
Sets the foreign key constraint name. |
Set |
Sets the foreign key constraint name. |
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: