SqlTranslatingExpressionVisitorDependencies.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(ICompositeMethodCallTranslator) |
Clones this dependency parameter object with one service replaced. |
With(IExpressionFragmentTranslator) |
Clones this dependency parameter object with one service replaced. |
With(IMemberTranslator) |
Clones this dependency parameter object with one service replaced. |
With(IRelationalTypeMapper) |
Obsolete.
Clones this dependency parameter object with one service replaced. |
With(IRelationalTypeMappingSource) |
Clones this dependency parameter object with one service replaced. |
With(ICompositeMethodCallTranslator)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.ICompositeMethodCallTranslator methodCallTranslator);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.ICompositeMethodCallTranslator -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Function With (methodCallTranslator As ICompositeMethodCallTranslator) As SqlTranslatingExpressionVisitorDependencies
Parameters
- methodCallTranslator
- ICompositeMethodCallTranslator
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IExpressionFragmentTranslator)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator compositeExpressionFragmentTranslator);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IExpressionFragmentTranslator -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Function With (compositeExpressionFragmentTranslator As IExpressionFragmentTranslator) As SqlTranslatingExpressionVisitorDependencies
Parameters
- compositeExpressionFragmentTranslator
- IExpressionFragmentTranslator
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IMemberTranslator)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator memberTranslator);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.IMemberTranslator -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Function With (memberTranslator As IMemberTranslator) As SqlTranslatingExpressionVisitorDependencies
Parameters
- memberTranslator
- IMemberTranslator
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IRelationalTypeMapper)
Caution
Use IRelationalTypeMappingSource.
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper);
[System.Obsolete("Use IRelationalTypeMappingSource.")]
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper relationalTypeMapper);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
[<System.Obsolete("Use IRelationalTypeMappingSource.")>]
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Function With (relationalTypeMapper As IRelationalTypeMapper) As SqlTranslatingExpressionVisitorDependencies
Parameters
- relationalTypeMapper
- IRelationalTypeMapper
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
- Attributes
Applies to
With(IRelationalTypeMappingSource)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.SqlTranslatingExpressionVisitorDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As SqlTranslatingExpressionVisitorDependencies
Parameters
- typeMappingSource
- IRelationalTypeMappingSource
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework