RelationalCompositeMethodCallTranslatorDependencies.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(IDiagnosticsLogger<DbLoggerCategory.Query>) |
Clones this dependency parameter object with one service replaced. |
With(IEnumerable<IMethodCallTranslatorPlugin>) |
Clones this dependency parameter object with one service replaced. |
With(IDiagnosticsLogger<DbLoggerCategory.Query>)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> logger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Query> -> Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies
Public Function With (logger As IDiagnosticsLogger(Of DbLoggerCategory.Query)) As RelationalCompositeMethodCallTranslatorDependencies
Parameters
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IEnumerable<IMethodCallTranslatorPlugin>)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMethodCallTranslatorPlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMethodCallTranslatorPlugin> -> Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.RelationalCompositeMethodCallTranslatorDependencies
Public Function With (plugins As IEnumerable(Of IMethodCallTranslatorPlugin)) As RelationalCompositeMethodCallTranslatorDependencies
Parameters
- plugins
- IEnumerable<IMethodCallTranslatorPlugin>
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework