SqlServerPropertyAnnotations 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| SqlServerPropertyAnnotations(IProperty) |
构造给定 IProperty批注的实例。 |
| SqlServerPropertyAnnotations(RelationalAnnotations) |
构造由给定批注帮助程序表示的 IProperty 批注的实例。 |
SqlServerPropertyAnnotations(IProperty)
构造给定 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)
参数
适用于
SqlServerPropertyAnnotations(RelationalAnnotations)
构造由给定批注帮助程序表示的 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帮助程序。