when filter data in domain data source class
public IQueryable<product> GetProduct2(int empno)
return this.ObjectContext.Product.Where(sa => sa.prono == empno);
so this filter before fetch data from database
or after fill data in memory and filter from memory
(this filter in database or memory )
thanks for anyhelp
Your code applies over the Entity Model not in database.
So the model pass the query to the database and the database process the query.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)