共用方式為


RelationalModelAnnotations 建構函式

定義

多載

RelationalModelAnnotations(IModel)

建構指定 IModel 之注釋的實例。

RelationalModelAnnotations(RelationalAnnotations)

建構由指定批註協助程式所表示之 IModel 注釋的 實例。

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

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)

參數

model
IModel

要使用的 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

RelationalAnnotations協助程式, IModel 表示要標注的 。

適用於

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

適用於