RelationalQueryModelVisitor.ShouldApplyDefiningQuery 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.
Determine whether a defining query should be applied when querying the target entity type.
public override bool ShouldApplyDefiningQuery (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Remotion.Linq.Clauses.IQuerySource querySource);
override this.ShouldApplyDefiningQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Remotion.Linq.Clauses.IQuerySource -> bool
Public Overrides Function ShouldApplyDefiningQuery (entityType As IEntityType, querySource As IQuerySource) As Boolean
Parameters
- entityType
- IEntityType
The target entity type.
- querySource
- Remotion.Linq.Clauses.IQuerySource
The target query source.
Returns
true if the target type should have a defining query applied.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework