Condividi tramite


SqlServerValueGenerationStrategyConvention Classe

Definizione

Convenzione che configura il modello SqlServerValueGenerationStrategy predefinito come IdentityColumn.

public class SqlServerValueGenerationStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
public class SqlServerValueGenerationStrategyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
type SqlServerValueGenerationStrategyConvention = class
    interface IModelInitializedConvention
    interface IConvention
    interface IModelFinalizedConvention
type SqlServerValueGenerationStrategyConvention = class
    interface IModelInitializedConvention
    interface IConvention
    interface IModelFinalizingConvention
Public Class SqlServerValueGenerationStrategyConvention
Implements IModelFinalizedConvention, IModelInitializedConvention
Public Class SqlServerValueGenerationStrategyConvention
Implements IModelFinalizingConvention, IModelInitializedConvention
Ereditarietà
SqlServerValueGenerationStrategyConvention
Implementazioni

Commenti

Per altre informazioni ed esempi, vedere Convenzioni di compilazione dei modelli e Accesso a SQL Server e Azure SQL database con EF Core.

Si applica a