Which way is better to use?
ISession session = SessionController.Factory.OpenSession();
IQueryable<myObject> myObjectdquery;
1.
myObjectquery = session.Query<myObject>();
myObjectquery = myObjectquery.Where(x=>x....)
or
2.
myObjectquery = session.Query<myObject>().Where(x=>x...);
I'm not sure is my logic correct but in first approach myObjectquery is first "filled" with data and then queried, and in second approach one step is skipped and myObjectquery is filled only with necessary data. The point is what is faster?