SqlServerIndexConvention 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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 命令生成帮助程序服务。