Click or drag to resize

EntityQueryTEntityOfEntityTypeTEntityFilter Method

Sets the type filter of the query to the typefilter of the entity type specified as TEntityFilter. This means that all entities matching this query will be of type TEntityFilter or any of its (indirect) subtypes.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public EntityQuery<TEntity> OfEntityType<TEntityFilter>()
where TEntityFilter : IEntityCore

Type Parameters

TEntityFilter
The type of the entity to filter on

Return Value

Type: EntityQueryTEntity
See Also