Microsoft.EntityFrameworkCore.Query Namespace

Classes

AsyncQueryMethodProvider

Provides reflection objects for late-binding to asynchronous relational query operations.

CollectionInitializingExpression
CollectionPopulatingExpression
CollectionShaperExpression

An expression that represents creation of a collection in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

CompiledQueryCacheKeyGenerator

Creates keys that uniquely identifies a query. This is used to store and lookup compiled versions of a query in a cache.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

CompiledQueryCacheKeyGeneratorDependencies

Service dependencies parameter class for CompiledQueryCacheKeyGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

EntityMaterializerSource

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

EntityMaterializerSourceDependencies

Service dependencies parameter class for EntityMaterializerSource

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

EntityProjectionExpression

An expression that represents an entity in the projection of SelectExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

EntityQueryModelVisitor

The core visitor that processes a query to be executed.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

EntityQueryModelVisitorDependencies

Service dependencies parameter class for EntityQueryModelVisitor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

EntityQueryModelVisitorFactory

Creates instances of EntityQueryModelVisitor.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

EntityShaperExpression

An expression that represents creation of an entity instance in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

EvaluatableExpressionFilter

Represents a filter for evaluatable expressions.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

EvaluatableExpressionFilterDependencies

Service dependencies parameter class for EvaluatableExpressionFilter

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

ExpressionEqualityComparer

A comparer which implements IEqualityComparer<T> for Expression.

ExpressionExtensions

Extension methods for Expression types.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

ExpressionPrinter

A class to create a printable string representation of expression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

GroupByShaperExpression

An expression that represents creation of a grouping element in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

IncludeExpression

An expression that represents include operation in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

IncludeSpecification

Represents a single query include operation.

MaterializeCollectionNavigationExpression

An expression that represents materialization of a collection navigation in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

NotParameterizedAttribute

Signals that custom LINQ operator parameter should not be parameterized during query compilation.

NullConditionalExpression

Expression representing null-conditional access. Logic in this file is based on https://github.com/bartdesmet/ExpressionFutures

ProjectionBindingExpression

An expression that gets values from QueryExpression to be used in ShaperExpression while creating results.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

ProjectionMember

A class representing a chain of CLR members to bind. Usually generated from successive Select calls in the query.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryableMethods

A class that provides reflection metadata for translatable LINQ methods.

QueryableMethodTranslatingExpressionVisitor

A class that translates queryable methods in a query.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryableMethodTranslatingExpressionVisitorDependencies

Service dependencies parameter class for QueryableMethodTranslatingExpressionVisitor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

QueryCompilationContext

The primary data structure representing the state/components used during query compilation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryCompilationContextDependencies

Service dependencies parameter class for QueryCompilationContext

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

QueryContext

The principal data structure used by a compiled query during execution.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryContextDependencies

Service dependencies parameter class for QueryContext

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

QueryContextFactory

A factory for QueryContext instances.

QueryMethodProvider

Provides reflection objects for late-binding to synchronous relational query operations.

QueryRootExpression

An expression that represents a query root in query expression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QuerySqlGenerator

A query SQL generator to get IRelationalCommand for given SelectExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QuerySqlGeneratorDependencies

Service dependencies parameter class for QuerySqlGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

QueryTranslationPostprocessor

A class that postprocesses the translated query. This class allows to process the generated server query expression and the associated shaper expression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryTranslationPostprocessorDependencies

Service dependencies parameter class for QueryTranslationPostprocessor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

QueryTranslationPreprocessor

A class that preprocesses the query before translation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

QueryTranslationPreprocessorDependencies

Service dependencies parameter class for QueryTranslationPreprocessor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalCollectionShaperExpression

An expression that represents creation of a collection for relational provider in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCompiledQueryCacheKeyGenerator

Creates keys that uniquely identifies a query. This is used to store and lookup compiled versions of a query in a cache.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

RelationalCompiledQueryCacheKeyGeneratorDependencies

Service dependencies parameter class for RelationalCompiledQueryCacheKeyGenerator

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

RelationalEntityShaperExpression

An expression that represents creation of an entity instance for a relational provider in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalEvaluatableExpressionFilter

Represents a filter for evaluatable expressions.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalEvaluatableExpressionFilterDependencies

Service dependencies parameter class for RelationalEvaluatableExpressionFilter

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalMemberTranslatorProvider

Provides translations for LINQ MemberExpression expressions by dispatching to multiple specialized member translators.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalMemberTranslatorProviderDependencies

Service dependencies parameter class for RelationalMemberTranslatorProvider

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalMethodCallTranslatorProvider

Provides translations for LINQ MethodCallExpression expressions by dispatching to multiple specialized method call translators.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalMethodCallTranslatorProviderDependencies

Service dependencies parameter class for RelationalMethodCallTranslatorProvider

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalParameterBasedSqlProcessor

A class that processes the SelectExpression after parementer values are known.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalParameterBasedSqlProcessorDependencies

Service dependencies parameter class for Microsoft.EntityFrameworkCore.Query.Internal.RelationalParameterBasedSqlProcessorFactory

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalQueryableMethodTranslatingExpressionVisitor

A class that translates queryable methods in a query.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalQueryableMethodTranslatingExpressionVisitorDependencies

Service dependencies parameter class for RelationalQueryableMethodTranslatingExpressionVisitor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalQueryCompilationContext

The primary data structure representing the state/components used during relational query compilation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalQueryCompilationContextDependencies

Service dependencies parameter class for RelationalQueryCompilationContext

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

RelationalQueryCompilationContextFactory

A relational factory for instances of QueryCompilationContext.

RelationalQueryContext

The principal data structure used by a compiled relational query during execution.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalQueryContextDependencies

Service dependencies parameter class for RelationalQueryContext

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

RelationalQueryContextFactory

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

RelationalQueryModelVisitor

The default relational Remotion.Linq.QueryModel visitor.

RelationalQueryModelVisitorDependencies

Service dependencies parameter class for RelationalQueryModelVisitorFactory

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

RelationalQueryModelVisitorFactory

A factory for instances of EntityQueryModelVisitor.

RelationalQueryTranslationPostprocessor

A class that postprocesses the translated query. This class allows to process the generated server query expression and the associated shaper expression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalQueryTranslationPostprocessorDependencies

Service dependencies parameter class for RelationalQueryTranslationPostprocessor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalQueryTranslationPreprocessor

A class that preprocesses the query before translation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalQueryTranslationPreprocessorDependencies

Service dependencies parameter class for RelationalQueryTranslationPreprocessor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalShapedQueryCompilingExpressionVisitor

A class that compiles the shaper expression for given shaped query expression.

Materializer is a code which creates entity instance from the given property values. It takes into account constructor bindings, fields, property access mode configured in the model when creating the instance.

Shaper is a code which generate result for the query from given scalar values based on the structure of projection. A shaper can contain zero or more materializers inside it.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalShapedQueryCompilingExpressionVisitorDependencies

Service dependencies parameter class for RelationalShapedQueryCompilingExpressionVisitor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

RelationalSplitCollectionShaperExpression

An expression that represents creation of a collection during split query for relational provider in ShaperExpression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalSqlTranslatingExpressionVisitor

A class that translates expressions to corresponding SQL representation.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalSqlTranslatingExpressionVisitorDependencies

Service dependencies parameter class for RelationalSqlTranslatingExpressionVisitorFactory

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

RelationalSqlTranslatingExpressionVisitorFactory

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

ReplacingExpressionVisitor

An expression visitor that replaces one expression with another in given expression tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

ResultOperatorHandler

The default client-eval result operator handler.

ResultOperatorHandlerDependencies

Service dependencies parameter class for ResultOperatorHandler

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

ShapedQueryCompilingExpressionVisitor

A class that compiles the shaper expression for given shaped query expression.

Materializer is a code which creates entity instance from the given property values. It takes into account constructor bindings, fields, property access mode configured in the model when creating the instance.

Shaper is a code which generate result for the query from given scalar values based on the structure of projection. A shaper can contain zero or more materializers inside it.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

ShapedQueryCompilingExpressionVisitorDependencies

Service dependencies parameter class for ShapedQueryCompilingExpressionVisitor

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton and multiple registrations are allowed. This means a single instance of each service is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

ShapedQueryExpression

An expression that combines a query expression and shaper expression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

SqlExpressionFactory

A factory for creating SqlExpression instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

SqlExpressionFactoryDependencies

Service dependencies parameter class for SqlExpressionFactory

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not construct instances of this class directly from either provider or application code as the constructor signature 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.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

SqlExpressionVisitor

A class that visits a SQL expression tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

SqlNullabilityProcessor

A class that processes a SQL tree based on nullability of nodes to apply null semantics in use and optimize it based on parameter values.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

TransparentIdentifierFactory

A factory to create transparent identifier to create during query processing. Transparent identifier is struct of outer and inner elements which is generally created as a result of join methods as intermediate type to hold values from both sources.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Structs

AsyncEnumerable<TResult>

Represents an asynchronous sequence produced by executing a compiled query.

CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey

A key that uniquely identifies a query. This is used to store and lookup compiled versions of a query in a cache.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

EntityLoadInfo

Information required to create an instance of an entity based on a row of data returned from a query.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey

A key that uniquely identifies a query. This is used to store and lookup compiled versions of a query in a cache.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Interfaces

IAsyncQueryProvider

Defines method to execute queries asynchronously that are described by an IQueryable object.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

ICompiledQueryCacheKeyGenerator

A cache key generator for the compiled query cache.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

IEntityMaterializerSource

Defines a source for generating Expression trees that read values from a ValueBuffer or creates entity instances.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IEntityQueryModelVisitorFactory

A factory for creating EntityQueryModelVisitors.

IEvaluatableExpressionFilter

Represents a filter for evaluatable expressions.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IEvaluatableExpressionFilterPlugin

Represents a plugin evaluatable expression filter.

The service lifetime is Singleton and multiple registrations are allowed. This means a single instance of each service is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IIncludableQueryable<TEntity,TProperty>

Supports queryable Include/ThenInclude chaining operators.

IMemberTranslator

A SQL translator for LINQ MemberExpression expression.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IMemberTranslatorPlugin

Represents plugin for IMemberTranslator.

The service lifetime is Singleton and multiple registrations are allowed. This means a single instance of each service is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IMemberTranslatorProvider

Provides translations for LINQ MemberExpression expressions.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IMethodCallTranslator

A SQL translator for LINQ MethodCallExpression expression.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IMethodCallTranslatorPlugin

Represents plugin for IMethodCallTranslator.

The service lifetime is Singleton and multiple registrations are allowed. This means a single instance of each service is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IMethodCallTranslatorProvider

Provides translations for LINQ MethodCallExpression expressions.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IParameterValues
IPrintableExpression

An interface that allows printing via ExpressionPrinter.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IQueryableMethodTranslatingExpressionVisitorFactory

A factory for creating QueryableMethodTranslatingExpressionVisitor instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IQueryCompilationContextFactory

A factory for creating QueryCompilationContext instances.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

IQueryContextFactory

Factory for QueryContext instances.

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

IQueryingEnumerable

Interface that can be implemented by a database provider's IEnumerable implementation to provide the query string for debugging purposes.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IQueryMethodProvider

Provides reflection objects for late-binding to relational query operations.

IQuerySqlGeneratorFactory

A factory for creating QuerySqlGenerator instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IQueryTranslationPostprocessorFactory

A factory for creating QueryTranslationPostprocessor instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IQueryTranslationPreprocessorFactory

A factory for creating QueryTranslationPreprocessor instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IRelationalParameterBasedSqlProcessorFactory

A factory for creating RelationalParameterBasedSqlProcessor instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IRelationalQueryStringFactory

Implemented by database providers to generate the query string for ToQueryString(IQueryable).

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

IRelationalResultOperatorHandler

A relational-specific handler for Remotion.Linq.Clauses.ResultOperatorBase instances.

IRelationalSqlTranslatingExpressionVisitorFactory

A factory for creating RelationalSqlTranslatingExpressionVisitor instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

IResultOperatorHandler

A handler for Remotion.Linq.Clauses.ResultOperatorBase instances.

IShapedQueryCompilingExpressionVisitorFactory

A factory for creating ShapedQueryCompilingExpressionVisitor instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

ISqlExpressionFactory

A factory for creating SqlExpression instances.

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

Enums

ResultCardinality

An enum that represents the cardinality of query result.

This enum is typically used by database providers (and other extensions). It is generally not used in application code.