Esempio n. 1
0
        public AdminInfo getDataById(int id)
        {
            AdminInfo   info   = new AdminInfo();
            IDataReader reader = db.GetDataById(id).CreateDataReader();

            while (reader.Read())
            {
                info = AdminInfo.Populate(reader);
            }
            return(info);
        }