s. ABP handles it.
            
        var query = GetAll(); //GetAll() returns IQueryable&lt;T&gt;, so we can query over it.
        //var query = Context.Tasks.AsQueryable(); //Alternatively, we can directly use EF&#39;s DbContext object.
        //var query = Table.AsQueryable(); //Another alternative: We can directly use &#39;Table&#39; property instead of &#39;Context.Tasks&#39;, they are identical.
            
        //Add some Where conditions...

        if (assignedPersonId.HasValue)
        {
 