It was easier as thought: insert QueryInterceptors in the Service class
[QueryInterceptor("Product")]
public Expression<Func<ProductEntity, bool>> OnReadProducts()
{
return o => true; // context.Product.Where(p => p.CategoryId == 2); returns 12 products
return o => o.Discontinued == false; // same query returns 11 products
}
Thanks