ModificationCommandBatchFactoryDependencies.With 方法

定义

重载

With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

克隆此依赖项参数对象,并替换了一个服务。

With(ICurrentDbContext)

克隆此依赖项参数对象,并替换了一个服务。

With(IRelationalCommandBuilderFactory)

克隆此依赖项参数对象,并替换了一个服务。

With(IRelationalValueBufferFactoryFactory)

克隆此依赖项参数对象,并替换了一个服务。

With(ISqlGenerationHelper)

克隆此依赖项参数对象,并替换了一个服务。

With(IUpdateSqlGenerator)

克隆此依赖项参数对象,并替换了一个服务。

With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs

克隆此依赖项参数对象,并替换了一个服务。

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

参数

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(ICurrentDbContext)

Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs

克隆此依赖项参数对象,并替换了一个服务。

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

参数

currentContext
ICurrentDbContext

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IRelationalCommandBuilderFactory)

Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs

克隆此依赖项参数对象,并替换了一个服务。

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

参数

commandBuilderFactory
IRelationalCommandBuilderFactory

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IRelationalValueBufferFactoryFactory)

Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs

克隆此依赖项参数对象,并替换了一个服务。

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

参数

valueBufferFactoryFactory
IRelationalValueBufferFactoryFactory

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(ISqlGenerationHelper)

Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs

克隆此依赖项参数对象,并替换了一个服务。

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

参数

sqlGenerationHelper
ISqlGenerationHelper

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于

With(IUpdateSqlGenerator)

Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs
Source:
ModificationCommandBatchFactoryDependencies.cs

克隆此依赖项参数对象,并替换了一个服务。

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

参数

updateSqlGenerator
IUpdateSqlGenerator

此类型的当前依赖项的替代项。

返回

替换了给定服务的新参数对象。

适用于