SqlServerKeyAnnotations 构造函数

定义

重载

SqlServerKeyAnnotations(IKey)

为给定 IKey的注释构造 实例。

SqlServerKeyAnnotations(RelationalAnnotations)

构造由给定批注帮助程序表示的 IKey 的注释的 实例。

SqlServerKeyAnnotations(IKey)

为给定 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)

参数

key
IKey

要使用的 IKey

适用于

SqlServerKeyAnnotations(RelationalAnnotations)

构造由给定批注帮助程序表示的 IKey 的注释的 实例。

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)

参数

annotations
RelationalAnnotations

表示 RelationalAnnotations 要批注的 的 IKey 帮助程序。

适用于