RelationalEntityQueryableExpressionVisitorDependencies Constructor
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.
Creates the service dependencies parameter object for a RelationalEntityQueryableExpressionVisitorFactory.
Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.
public RelationalEntityQueryableExpressionVisitorDependencies (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Query.Expressions.ISelectExpressionFactory selectExpressionFactory, Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMaterializerFactory materializerFactory, Microsoft.EntityFrameworkCore.Query.Internal.IShaperCommandContextFactory shaperCommandContextFactory);
new Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Query.Expressions.ISelectExpressionFactory * Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMaterializerFactory * Microsoft.EntityFrameworkCore.Query.Internal.IShaperCommandContextFactory -> Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitorDependencies
Public Sub New (model As IModel, selectExpressionFactory As ISelectExpressionFactory, materializerFactory As IMaterializerFactory, shaperCommandContextFactory As IShaperCommandContextFactory)
Parameters
- model
- IModel
The model.
- selectExpressionFactory
- ISelectExpressionFactory
The select expression factory.
- materializerFactory
- Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.Internal.IMaterializerFactory
The materializer factory.
- shaperCommandContextFactory
- Microsoft.EntityFrameworkCore.Query.Internal.IShaperCommandContextFactory
The shaper command context factory.
Applies to
Entity Framework