语言

RelationalMethodCallTranslatorProviderDependencies.With 方法

定义

重载

名称 说明
With(ISqlExpressionFactory)

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

With(IRelationalTypeMappingSource)

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

With(IEnumerable<IMethodCallTranslatorPlugin>)

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

With(ISqlExpressionFactory)

Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs

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

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)

Source:
RelationalMethodCallTranslatorProviderDependencies.cs

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

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>)

Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs

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

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>

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

返回

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

适用于