RelationalValueBufferFactoryDependencies.With 方法

定义

重载

With(ICoreSingletonOptions)

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

With(IRelationalTypeMappingSource)

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

With(ICoreSingletonOptions)

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

public Microsoft.EntityFrameworkCore.Storage.RelationalValueBufferFactoryDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICoreSingletonOptions coreOptions);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICoreSingletonOptions -> Microsoft.EntityFrameworkCore.Storage.RelationalValueBufferFactoryDependencies
Public Function With (coreOptions As ICoreSingletonOptions) As RelationalValueBufferFactoryDependencies

参数

coreOptions
ICoreSingletonOptions

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

返回

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

适用于

With(IRelationalTypeMappingSource)

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

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

参数

typeMappingSource
IRelationalTypeMappingSource

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

返回

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

适用于