RelationalForeignKeyBuilderExtensions 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.
Relational database specific extension methods for relationship builders.
[System.Runtime.CompilerServices.Nullable(0)]
public static class RelationalForeignKeyBuilderExtensions
public static class RelationalForeignKeyBuilderExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalForeignKeyBuilderExtensions = class
type RelationalForeignKeyBuilderExtensions = class
Public Module RelationalForeignKeyBuilderExtensions
- Inheritance
-
RelationalForeignKeyBuilderExtensions
- Attributes
Remarks
See Modeling entity types and relationships for more information and examples.
Methods
| Name | Description |
|---|---|
| CanSetConstraintName(IConventionForeignKeyBuilder, String, Boolean) |
Returns a value indicating whether the foreign key constraint name can be set for this relationship from the current configuration source |
| CanSetConstraintName(IConventionRelationshipBuilder, String, Boolean) |
Returns a value indicating whether the foreign key constraint name can be set for this relationship from the current configuration source |
| HasConstraintName(IConventionForeignKeyBuilder, String, Boolean) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName(IConventionRelationshipBuilder, String, Boolean) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName(OwnershipBuilder, String) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName(ReferenceCollectionBuilder, String) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName(ReferenceReferenceBuilder, String) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName<TEntity,TDependentEntity>(OwnershipBuilder<TEntity,TDependentEntity>, String) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName<TEntity,TRelatedEntity>(ReferenceCollectionBuilder<TEntity,TRelatedEntity>, String) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |
| HasConstraintName<TEntity,TRelatedEntity>(ReferenceReferenceBuilder<TEntity,TRelatedEntity>, String) |
Configures the foreign key constraint name for this relationship when targeting a relational database. |