共用方式為


SqlServerConventionSetBuilder 建構函式

定義

多載

SqlServerConventionSetBuilder(RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

SqlServerConventionSetBuilder(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

建立新的 SqlServerConventionSetBuilder 執行個體。

SqlServerConventionSetBuilder(IRelationalTypeMapper, ICurrentDbContext, IDbSetFinder)

SqlServerConventionSetBuilder(RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

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

參數

dependencies
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.RelationalConventionSetBuilderDependencies
sqlGenerationHelper
ISqlGenerationHelper

適用於

SqlServerConventionSetBuilder(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

建立新的 SqlServerConventionSetBuilder 執行個體。

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

參數

dependencies
ProviderConventionSetBuilderDependencies

此服務的核心相依性。

relationalDependencies
RelationalConventionSetBuilderDependencies

此服務的關聯式相依性。

sqlGenerationHelper
ISqlGenerationHelper

要使用的 SQL 產生協助程式。

適用於

SqlServerConventionSetBuilder(IRelationalTypeMapper, ICurrentDbContext, IDbSetFinder)

public SqlServerConventionSetBuilder (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Internal.IDbSetFinder setFinder);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.SqlServerConventionSetBuilder : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext * Microsoft.EntityFrameworkCore.Internal.IDbSetFinder -> Microsoft.EntityFrameworkCore.Metadata.Conventions.SqlServerConventionSetBuilder
Public Sub New (typeMapper As IRelationalTypeMapper, currentContext As ICurrentDbContext, setFinder As IDbSetFinder)

參數

currentContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext
setFinder
Microsoft.EntityFrameworkCore.Internal.IDbSetFinder

適用於