RelationalModelAnnotations 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RelationalModelAnnotations(IModel)
为给定 IModel的批注构造实例。
public RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Public Sub New (model As IModel)
参数
适用于
RelationalModelAnnotations(RelationalAnnotations)
为给定批注帮助程序表示的 IModel 的注释构造实例。
protected RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Sub New (annotations As RelationalAnnotations)
参数
- annotations
- RelationalAnnotations
表示RelationalAnnotationsIModel要批注的 的帮助程序。
适用于
RelationalModelAnnotations(IModel, RelationalFullAnnotationNames)
public RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Public Sub New (model As IModel, providerFullAnnotationNames As RelationalFullAnnotationNames)
参数
- model
- IModel
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames
适用于
RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)
protected RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Sub New (annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)
参数
- annotations
- RelationalAnnotations
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames