ModificationCommandBatchFactoryDependencies.With Method

Definition

Overloads

With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Clones this dependency parameter object with one service replaced.

With(ICurrentDbContext)

Clones this dependency parameter object with one service replaced.

With(IRelationalCommandBuilderFactory)

Clones this dependency parameter object with one service replaced.

With(IRelationalValueBufferFactoryFactory)

Clones this dependency parameter object with one service replaced.

With(ISqlGenerationHelper)

Clones this dependency parameter object with one service replaced.

With(IUpdateSqlGenerator)

Clones this dependency parameter object with one service replaced.

With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies
Public Function With (logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command)) As ModificationCommandBatchFactoryDependencies

Parameters

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(ICurrentDbContext)

Clones this dependency parameter object with one service replaced.

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

Parameters

currentContext
ICurrentDbContext

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IRelationalCommandBuilderFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory -> Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies
Public Function With (commandBuilderFactory As IRelationalCommandBuilderFactory) As ModificationCommandBatchFactoryDependencies

Parameters

commandBuilderFactory
IRelationalCommandBuilderFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IRelationalValueBufferFactoryFactory)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory valueBufferFactoryFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory -> Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies
Public Function With (valueBufferFactoryFactory As IRelationalValueBufferFactoryFactory) As ModificationCommandBatchFactoryDependencies

Parameters

valueBufferFactoryFactory
IRelationalValueBufferFactoryFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(ISqlGenerationHelper)

Clones this dependency parameter object with one service replaced.

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

Parameters

sqlGenerationHelper
ISqlGenerationHelper

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IUpdateSqlGenerator)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies With (Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator);
member this.With : Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator -> Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies
Public Function With (updateSqlGenerator As IUpdateSqlGenerator) As ModificationCommandBatchFactoryDependencies

Parameters

updateSqlGenerator
IUpdateSqlGenerator

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to