RelationalKeyAnnotations 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.
Properties for relational-specific annotations accessed through Relational(IMutableKey).
public class RelationalKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
type RelationalKeyAnnotations = class
interface IRelationalKeyAnnotations
Public Class RelationalKeyAnnotations
Implements IRelationalKeyAnnotations
- Inheritance
-
RelationalKeyAnnotations
- Derived
- Implements
Constructors
RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames) | |
RelationalKeyAnnotations(IKey) |
Constructs an instance for annotations of the given IKey. |
RelationalKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames) | |
RelationalKeyAnnotations(RelationalAnnotations) |
Constructs an instance for annotations of the IKey represented by the given annotation helper. |
Fields
DefaultAlternateKeyNamePrefix | |
DefaultPrimaryKeyNamePrefix | |
ProviderFullAnnotationNames |
Properties
Annotations |
The RelationalAnnotations helper representing the IKey to annotate. |
Key |
The IKey to annotate. |
Name |
The key constraint name. |
Methods
GetAnnotations(IEntityType) | |
GetAnnotations(IProperty) | |
GetDefaultKeyName(String, Boolean, IEnumerable<String>) | |
GetDefaultName() | |
SetName(String) |
Attempts to set the Name using the semantics of the RelationalAnnotations in use. |
Applies to
Entity Framework