Example #1
0
 public IList <TEntity> Query <TEntity>(ICriteriaQuery <TEntity> query) where TEntity : PersistentObject
 {
     return(query.RetrieveCriteria(_unitOfWork.CurrentSession.CreateCriteria <TEntity>()).List <TEntity>());
 }