Delen via


RelationalForeignKeyBuilderExtensions Class

Definition

Relational database specific extension methods for relationship builders.

public static class RelationalForeignKeyBuilderExtensions
type RelationalForeignKeyBuilderExtensions = class
Public Module RelationalForeignKeyBuilderExtensions
Inheritance
RelationalForeignKeyBuilderExtensions

Remarks

See Modeling entity types and relationships for more information and examples.

Methods

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.

Applies to