RelationalModelAnnotations 构造函数

定义

重载

RelationalModelAnnotations(IModel)

为给定 IModel的批注构造实例。

RelationalModelAnnotations(RelationalAnnotations)

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

RelationalModelAnnotations(IModel, RelationalFullAnnotationNames)
RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

RelationalModelAnnotations(IModel)

Source:
RelationalModelAnnotations.cs
Source:
RelationalModelAnnotations.cs

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

参数

model
IModel

要使用的 IModel

适用于

RelationalModelAnnotations(RelationalAnnotations)

Source:
RelationalModelAnnotations.cs
Source:
RelationalModelAnnotations.cs

为给定批注帮助程序表示的 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

适用于