public IEnumerable GetAllData() { ICriteria criteria = _session.CreateCriteria(typeof(T)); criteria = _columns.AddAliases(criteria); criteria = addWheres(criteria); criteria = AddTheProjections(criteria); return(criteria.List()); }