Пример #1
0
        public TblHislisRegCollection FetchByQuery(Query qry)
        {
            TblHislisRegCollection coll = new TblHislisRegCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public TblHislisRegCollection FetchAll()
        {
            TblHislisRegCollection coll = new TblHislisRegCollection();
            Query qry = new Query(TblHislisReg.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public TblHislisRegCollection FetchByID(object Id)
        {
            TblHislisRegCollection coll = new TblHislisRegCollection().Where("ID", Id).Load();

            return(coll);
        }