语言

SqlServerKeyAnnotations 构造函数

定义

重载

名称 说明
SqlServerKeyAnnotations(IKey)

构造给定 IKey批注的实例。

SqlServerKeyAnnotations(RelationalAnnotations)

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

SqlServerKeyAnnotations(IKey)

Source:
SqlServerKeyAnnotations.cs
Source:
SqlServerKeyAnnotations.cs

构造给定 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)

Source:
SqlServerKeyAnnotations.cs
Source:
SqlServerKeyAnnotations.cs

构造由给定批注帮助程序表示的 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帮助程序。

适用于