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
[System.Runtime.CompilerServices.Nullable(0)]
public static class RelationalKeyBuilderExtensions
type RelationalKeyBuilderExtensions = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalKeyBuilderExtensions = class
Public Module RelationalKeyBuilderExtensions
- Inheritance
-
RelationalKeyBuilderExtensions
- Attributes
Remarks
See Keys for more information and examples.
Methods
| Name | Description |
|---|---|
| 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. |