ModificationCommandBatchFactoryDependencies.With 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>) |
克隆此依赖项参数对象,并替换了一个服务。 |
With(ICurrentDbContext) |
克隆此依赖项参数对象,并替换了一个服务。 |
With(IRelationalCommandBuilderFactory) |
克隆此依赖项参数对象,并替换了一个服务。 |
With(IRelationalValueBufferFactoryFactory) |
克隆此依赖项参数对象,并替换了一个服务。 |
With(ISqlGenerationHelper) |
克隆此依赖项参数对象,并替换了一个服务。 |
With(IUpdateSqlGenerator) |
克隆此依赖项参数对象,并替换了一个服务。 |
With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)
克隆此依赖项参数对象,并替换了一个服务。
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
参数
此类型的当前依赖项的替代项。
返回
替换了给定服务的新参数对象。
适用于
With(ICurrentDbContext)
克隆此依赖项参数对象,并替换了一个服务。
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)
克隆此依赖项参数对象,并替换了一个服务。
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)
克隆此依赖项参数对象,并替换了一个服务。
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)
克隆此依赖项参数对象,并替换了一个服务。
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)
克隆此依赖项参数对象,并替换了一个服务。
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
此类型的当前依赖项的替代项。
返回
替换了给定服务的新参数对象。