共用方式為


RelationalMemberTranslatorProviderDependencies.With 方法

定義

多載

With(ISqlExpressionFactory)

複製此相依性參數物件,並取代一個服務。

With(IEnumerable<IMemberTranslatorPlugin>)

複製此相依性參數物件,並取代一個服務。

With(ISqlExpressionFactory)

來源:
RelationalMemberTranslatorProviderDependencies.cs
來源:
RelationalMemberTranslatorProviderDependencies.cs
來源:
RelationalMemberTranslatorProviderDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Query.RelationalMemberTranslatorProviderDependencies With (Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory -> Microsoft.EntityFrameworkCore.Query.RelationalMemberTranslatorProviderDependencies
Public Function With (sqlExpressionFactory As ISqlExpressionFactory) As RelationalMemberTranslatorProviderDependencies

參數

sqlExpressionFactory
ISqlExpressionFactory

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

傳回

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

適用於

With(IEnumerable<IMemberTranslatorPlugin>)

來源:
RelationalMemberTranslatorProviderDependencies.cs
來源:
RelationalMemberTranslatorProviderDependencies.cs
來源:
RelationalMemberTranslatorProviderDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Query.RelationalMemberTranslatorProviderDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.IMemberTranslatorPlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Query.IMemberTranslatorPlugin> -> Microsoft.EntityFrameworkCore.Query.RelationalMemberTranslatorProviderDependencies
Public Function With (plugins As IEnumerable(Of IMemberTranslatorPlugin)) As RelationalMemberTranslatorProviderDependencies

參數

plugins
IEnumerable<IMemberTranslatorPlugin>

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

傳回

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

適用於