EntityQueryModelVisitor.ShouldApplyDefiningQuery(IEntityType, IQuerySource) Yöntem

Tanım

Hedef varlık türünü sorgularken bir tanımlama sorgusunun uygulanıp uygulanmayacağını belirleme.

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

Parametreler

entityType
IEntityType

Hedef varlık türü.

querySource
Remotion.Linq.Clauses.IQuerySource

Hedef sorgu kaynağı.

Döndürülenler

Boolean

hedef türün bir tanımlama sorgusu uygulanmış olması gerekiyorsa true.

Şunlara uygulanır