Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (ISession session = NHibernateHelper.OpenSession())
- {
- using (ITransaction transaction = session.BeginTransaction())
- {
- session.QueryOver<T>().Where() // all ok
- }
- }
- productRepository.ExecuteQuery(over =>
- {
- IQueryOver<Product> inOtherContext = over;
- inOtherContext.Where // where method not exists
- });
- IQueryOver<Product, Product>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement