Share via


SqlServerIndexConvention Constructor

Definition

Creates a new instance of SqlServerIndexConvention.

public SqlServerIndexConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies relationalDependencies, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.SqlServerIndexConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Metadata.Conventions.SqlServerIndexConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies, relationalDependencies As RelationalConventionSetBuilderDependencies, sqlGenerationHelper As ISqlGenerationHelper)

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

relationalDependencies
RelationalConventionSetBuilderDependencies

Parameter object containing relational dependencies for this convention.

sqlGenerationHelper
ISqlGenerationHelper

SQL command generation helper service.

Applies to