HistoryRepositoryDependencies.With Yöntem

Tanım

Aşırı Yüklemeler

With(IRelationalDatabaseCreator)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IRelationalConnection)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IRawSqlCommandBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IMigrationsSqlGenerator)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IMigrationsModelDiffer)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(ICoreConventionSetBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(ModelDependencies)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IConventionSetBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IRelationalTypeMappingSource)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IDbContextOptions)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(ICurrentDbContext)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IDiagnosticsLogger<DbLoggerCategory.Model>)
Kullanımdan kalktı.

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IDiagnosticsLogger<DbLoggerCategory.Database>)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IConventionSetBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(ISqlGenerationHelper)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IRelationalDatabaseCreator)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator databaseCreator);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalDatabaseCreator -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (databaseCreator As IRelationalDatabaseCreator) As HistoryRepositoryDependencies

Parametreler

databaseCreator
IRelationalDatabaseCreator

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IRelationalConnection)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (connection As IRelationalConnection) As HistoryRepositoryDependencies

Parametreler

connection
IRelationalConnection

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IRawSqlCommandBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder rawSqlCommandBuilder);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRawSqlCommandBuilder -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (rawSqlCommandBuilder As IRawSqlCommandBuilder) As HistoryRepositoryDependencies

Parametreler

rawSqlCommandBuilder
IRawSqlCommandBuilder

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IMigrationsSqlGenerator)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (migrationsSqlGenerator As IMigrationsSqlGenerator) As HistoryRepositoryDependencies

Parametreler

migrationsSqlGenerator
IMigrationsSqlGenerator

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IMigrationsModelDiffer)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (modelDiffer As IMigrationsModelDiffer) As HistoryRepositoryDependencies

Parametreler

modelDiffer
IMigrationsModelDiffer

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(ICoreConventionSetBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder coreConventionSetBuilder);
member this.With : Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (coreConventionSetBuilder As ICoreConventionSetBuilder) As HistoryRepositoryDependencies

Parametreler

coreConventionSetBuilder
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ICoreConventionSetBuilder

Modeli oluştururken kullanmak üzere temel kural kümesi.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(ModelDependencies)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies modelDependencies);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (modelDependencies As ModelDependencies) As HistoryRepositoryDependencies

Parametreler

modelDependencies
ModelDependencies

Modeli oluştururken kullanmak üzere temel kural kümesi.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IConventionSetBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder);
member this.With : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (conventionSetBuilder As IConventionSetBuilder) As HistoryRepositoryDependencies

Parametreler

conventionSetBuilder
IConventionSetBuilder

Modeli oluştururken kullanmak üzere temel kural kümesi.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IRelationalTypeMappingSource)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As HistoryRepositoryDependencies

Parametreler

typeMappingSource
IRelationalTypeMappingSource

Tür eşleci.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IDbContextOptions)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (options As IDbContextOptions) As HistoryRepositoryDependencies

Parametreler

options
IDbContextOptions

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(ICurrentDbContext)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (currentContext As ICurrentDbContext) As HistoryRepositoryDependencies

Parametreler

currentContext
ICurrentDbContext

Tür eşleci.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IDiagnosticsLogger<DbLoggerCategory.Model>)

Dikkat

Bu API artık kullanım dışıdır.

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger);
[System.Obsolete]
public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
[<System.Obsolete>]
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (modelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model)) As HistoryRepositoryDependencies

Parametreler

modelLogger
IDiagnosticsLogger<DbLoggerCategory.Model>

Tür eşleci.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Öznitelikler

Şunlara uygulanır

With(IDiagnosticsLogger<DbLoggerCategory.Database>)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> commandLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (commandLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command)) As HistoryRepositoryDependencies

Parametreler

commandLogger
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

Komut günlükleyicisi.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IConventionSetBuilder)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder conventionSetBuilder);
member this.With : Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (conventionSetBuilder As IConventionSetBuilder) As HistoryRepositoryDependencies

Parametreler

conventionSetBuilder
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IConventionSetBuilder

Modeli oluştururken kullanmak üzere kural kümesi.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(ISqlGenerationHelper)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies With (Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
member this.With : Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Migrations.HistoryRepositoryDependencies
Public Function With (sqlGenerationHelper As ISqlGenerationHelper) As HistoryRepositoryDependencies

Parametreler

sqlGenerationHelper
ISqlGenerationHelper

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

HistoryRepositoryDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır