Share via


RelationalModelAnnotations Constructors

Definition

Overloads

RelationalModelAnnotations(IModel)

Constructs an instance for annotations of the given IModel.

RelationalModelAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IModel represented by the given annotation helper.

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

RelationalModelAnnotations(IModel)

Constructs an instance for annotations of the given 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)

Parameters

model
IModel

The IModel to use.

Applies to

RelationalModelAnnotations(RelationalAnnotations)

Constructs an instance for annotations of the IModel represented by the given annotation helper.

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)

Parameters

annotations
RelationalAnnotations

The RelationalAnnotations helper representing the IModel to annotate.

Applies to

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)

Parameters

model
IModel
providerFullAnnotationNames
Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames

Applies to

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)

Parameters

annotations
RelationalAnnotations
providerFullAnnotationNames
Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames

Applies to