RelationalEntityQueryableExpressionVisitorDependencies.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(IModel) |
Clones this dependency parameter object with one service replaced. |
With(ISelectExpressionFactory) |
Clones this dependency parameter object with one service replaced. |
With(IMaterializerFactory) |
Clones this dependency parameter object with one service replaced. |
With(IShaperCommandContextFactory) |
Clones this dependency parameter object with one service replaced. |
With(IModel)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Metadata.IModel model);
member this.With : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies
Public Function With (model As IModel) As RelationalEntityQueryableExpressionVisitorDependencies
Parameters
- model
- IModel
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(ISelectExpressionFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.Expressions.ISelectExpressionFactory selectExpressionFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.Expressions.ISelectExpressionFactory -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies
Public Function With (selectExpressionFactory As ISelectExpressionFactory) As RelationalEntityQueryableExpressionVisitorDependencies
Parameters
- selectExpressionFactory
- ISelectExpressionFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IMaterializerFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMaterializerFactory materializerFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMaterializerFactory -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies
Public Function With (materializerFactory As IMaterializerFactory) As RelationalEntityQueryableExpressionVisitorDependencies
Parameters
- materializerFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMaterializerFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
With(IShaperCommandContextFactory)
Clones this dependency parameter object with one service replaced.
public Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.IShaperCommandContextFactory shaperCommandContextFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.IShaperCommandContextFactory -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies
Public Function With (shaperCommandContextFactory As IShaperCommandContextFactory) As RelationalEntityQueryableExpressionVisitorDependencies
Parameters
- shaperCommandContextFactory
- Microsoft.EntityFrameworkCore.Query.Internal.IShaperCommandContextFactory
A replacement for the current dependency of this type.
Returns
A new parameter object with the given service replaced.
Applies to
Entity Framework