Langue

INavigationExpansionExtensibilityHelper Interface

Definition

Service which helps with various aspects of navigation expansion extensibility.

public interface INavigationExpansionExtensibilityHelper
type INavigationExpansionExtensibilityHelper = interface
Public Interface INavigationExpansionExtensibilityHelper
Derived

Remarks

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.

See Implementation of database providers and extensions and How EF Core queries work for more information and examples.

Properties

Name Description
SupportsNavigationExpansionJoins

Whether navigation expansion may add joins to a source to translate aggregates over reference navigations inside a GroupBy result selector into the grouped query, instead of a correlated subquery per group. Providers that do not support joins must return false.

Methods

Name Description
AreQueryRootsCompatible(EntityQueryRootExpression, EntityQueryRootExpression)

Checks whether two query roots are compatible for a set operation to combine them.

AreQueryRootsCompatible(QueryRootExpression, QueryRootExpression)

Checks whether two query roots are compatible for a set operation to combine them.

CreateQueryRoot(IEntityType, EntityQueryRootExpression)

Creates a new EntityQueryRootExpression.

CreateQueryRoot(IEntityType, QueryRootExpression)

Creates a new QueryRootExpression.

ValidateQueryRootCreation(IEntityType, EntityQueryRootExpression)

Validates whether a new EntityQueryRootExpression can be created.

Applies to