Share via


SqlServerKeyAnnotations Constructors

Definition

Overloads

SqlServerKeyAnnotations(IKey)

Constructs an instance for annotations of the given IKey.

SqlServerKeyAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IKey represented by the given annotation helper.

SqlServerKeyAnnotations(IKey)

Constructs an instance for annotations of the given IKey.

public SqlServerKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IKey key);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.Metadata.SqlServerKeyAnnotations
Public Sub New (key As IKey)

Parameters

key
IKey

The IKey to use.

Applies to

SqlServerKeyAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IKey represented by the given annotation helper.

protected SqlServerKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.SqlServerKeyAnnotations
Protected Sub New (annotations As RelationalAnnotations)

Parameters

annotations
RelationalAnnotations

The RelationalAnnotations helper representing the IKey to annotate.

Applies to