예제 #1
0
        public virtual List<T> GetList2<T>(string where, int topLimit = 0, string order = null) where T : BaseEntity, new()
        {
            List<T> result = new List<T>();

            using (IDataReader dr = DbLogic.ExecuteReader2(DbHelper, this.CurrentTableName, where, topLimit, order))
            {
                result = GetList<T>(dr);
            }

            return result;
        }