Поделиться через


SqlServerConventionSetBuilder Конструкторы

Определение

Перегрузки

SqlServerConventionSetBuilder(RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

Этот API поддерживает инфраструктуру Entity Framework Core и не предназначен для использования непосредственно из кода. В будущих выпусках этот API может быть изменен или удален.

SqlServerConventionSetBuilder(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

Создает новый экземпляр SqlServerConventionSetBuilder.

SqlServerConventionSetBuilder(IRelationalTypeMapper, ICurrentDbContext, IDbSetFinder)

SqlServerConventionSetBuilder(RelationalConventionSetBuilderDependencies, ISqlGenerationHelper)

Исходный код:
SqlServerConventionSetBuilder.cs
Исходный код:
SqlServerConventionSetBuilder.cs

Этот 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.cs
Исходный код:
SqlServerConventionSetBuilder.cs
Исходный код:
SqlServerConventionSetBuilder.cs
Исходный код:
SqlServerConventionSetBuilder.cs
Исходный код:
SqlServerConventionSetBuilder.cs
Исходный код:
SqlServerConventionSetBuilder.cs
Исходный код:
SqlServerConventionSetBuilder.cs

Создает новый экземпляр 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

Применяется к