EntityQueryModelVisitor.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 virtual bool ShouldApplyDefiningQuery (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Remotion.Linq.Clauses.IQuerySource querySource);
abstract member ShouldApplyDefiningQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Remotion.Linq.Clauses.IQuerySource -> bool
override this.ShouldApplyDefiningQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Remotion.Linq.Clauses.IQuerySource -> bool
Public Overridable 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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework