Share via


RelationalKeyAnnotations Class

Definition

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