Partager via


SqlServerModelAnnotations Constructeurs

Définition

Surcharges

SqlServerModelAnnotations(IModel)

Construit un instance pour les annotations du donné IModel.

SqlServerModelAnnotations(RelationalAnnotations)

Construit une instance pour les annotations du IModel représenté par l’assistance d’annotation donnée.

SqlServerModelAnnotations(IModel)

Construit un instance pour les annotations du donné 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)

Paramètres

model
IModel

IModel à utiliser.

S’applique à

SqlServerModelAnnotations(RelationalAnnotations)

Construit une instance pour les annotations du IModel représenté par l’assistance d’annotation donnée.

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)

Paramètres

annotations
RelationalAnnotations

Helper RelationalAnnotations représentant le IModel à annoter.

S’applique à