RelationalMethodCallTranslatorProviderDependencies.With 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
With(ISqlExpressionFactory) |
克隆此依赖项参数对象,替换了一个服务。 |
With(IRelationalTypeMappingSource) |
克隆此依赖项参数对象,替换了一个服务。 |
With(IEnumerable<IMethodCallTranslatorPlugin>) |
克隆此依赖项参数对象,替换了一个服务。 |
With(ISqlExpressionFactory)
克隆此依赖项参数对象,替换了一个服务。
public Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies With (Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Function With (sqlExpressionFactory As ISqlExpressionFactory) As RelationalMethodCallTranslatorProviderDependencies
参数
- sqlExpressionFactory
- ISqlExpressionFactory
此类型的当前依赖项的替代项。
返回
替换了给定服务的新参数对象。
适用于
With(IRelationalTypeMappingSource)
克隆此依赖项参数对象,替换了一个服务。
public Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As RelationalMethodCallTranslatorProviderDependencies
参数
- typeMappingSource
- IRelationalTypeMappingSource
此类型的当前依赖项的替代项。
返回
替换了给定服务的新参数对象。
适用于
With(IEnumerable<IMethodCallTranslatorPlugin>)
克隆此依赖项参数对象,替换了一个服务。
public Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Function With (plugins As IEnumerable(Of IMethodCallTranslatorPlugin)) As RelationalMethodCallTranslatorProviderDependencies
参数
- plugins
- IEnumerable<IMethodCallTranslatorPlugin>
此类型的当前依赖项的替代项。
返回
替换了给定服务的新参数对象。