SqlServerModelAnnotations Constructors

Definition

Overloads

SqlServerModelAnnotations(IModel)

Constructs an instance for annotations of the given IModel.

SqlServerModelAnnotations(RelationalAnnotations)

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

SqlServerModelAnnotations(IModel)

Constructs an instance for annotations of the given IModel.

public SqlServerModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.SqlServerModelAnnotations
Public Sub New (model As IModel)

Parameters

model
IModel

The IModel to use.

Applies to

SqlServerModelAnnotations(RelationalAnnotations)

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

protected SqlServerModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.SqlServerModelAnnotations
Protected Sub New (annotations As RelationalAnnotations)

Parameters

annotations
RelationalAnnotations

The RelationalAnnotations helper representing the IModel to annotate.

Applies to