Delen via


RelationalKeyBuilderExtensions Class

Definition

Relational database specific extension methods for KeyBuilder.

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

Remarks

See Keys for more information and examples.

Methods

CanSetName(IConventionKeyBuilder, String, Boolean)

Returns a value indicating whether the given name can be set for the key constraint.

HasName(IConventionKeyBuilder, String, Boolean)

Configures the name of the key constraint in the database when targeting a relational database.

HasName(KeyBuilder, String)

Configures the name of the key constraint in the database when targeting a relational database.

HasName<TEntity>(KeyBuilder<TEntity>, String)

Configures the name of the key constraint in the database when targeting a relational database.

Applies to