RelationalKeyBuilderExtensions 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 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
Entity Framework