共用方式為


SqlServerIndexConvention 建構函式

定義

建立 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)

參數

dependencies
ProviderConventionSetBuilderDependencies

參數物件,包含此慣例的相依性。

relationalDependencies
RelationalConventionSetBuilderDependencies

參數物件,其中包含此慣例的關聯式相依性。

sqlGenerationHelper
ISqlGenerationHelper

SQL 命令產生協助程式服務。

適用於