共用方式為


RelationalMethodCallTranslatorProviderDependencies.With 方法

定義

多載

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>

取代此類型的目前相依性。

傳回

取代指定服務的新參數物件。

適用於