语言

SqlServerPropertyAnnotations 构造函数

定义

重载

名称 说明
SqlServerPropertyAnnotations(IProperty)

构造给定 IProperty批注的实例。

SqlServerPropertyAnnotations(RelationalAnnotations)

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

SqlServerPropertyAnnotations(IProperty)

Source:
SqlServerPropertyAnnotations.cs
Source:
SqlServerPropertyAnnotations.cs

构造给定 IProperty批注的实例。

public SqlServerPropertyAnnotations(Microsoft.EntityFrameworkCore.Metadata.IProperty property);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerPropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.SqlServerPropertyAnnotations
Public Sub New (property As IProperty)

参数

property
IProperty

要使用的 IProperty。

适用于

SqlServerPropertyAnnotations(RelationalAnnotations)

Source:
SqlServerPropertyAnnotations.cs
Source:
SqlServerPropertyAnnotations.cs

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

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

参数

annotations
RelationalAnnotations

RelationalAnnotations表示批注的IProperty帮助程序。

适用于