RelationalMemberTranslatorProviderDependencies.With Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
With(ISqlExpressionFactory) |
Clones this dependency parameter object with one service replaced. |
With(IEnumerable<IMemberTranslatorPlugin>) |
Clones this dependency parameter object with one service replaced. |
With(ISqlExpressionFactory)
Clones this dependency parameter object with one service replaced.
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
Parameters
- sqlExpressionFactory
- ISqlExpressionFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IEnumerable<IMemberTranslatorPlugin>)
Clones this dependency parameter object with one service replaced.
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
Parameters
- plugins
- IEnumerable<IMemberTranslatorPlugin>
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework