Exemple #1
0
        public DmucLoaithuocCollection FetchByQuery(Query qry)
        {
            DmucLoaithuocCollection coll = new DmucLoaithuocCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public DmucLoaithuocCollection FetchAll()
        {
            DmucLoaithuocCollection coll = new DmucLoaithuocCollection();
            Query qry = new Query(DmucLoaithuoc.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public DmucLoaithuocCollection FetchByID(object IdLoaithuoc)
        {
            DmucLoaithuocCollection coll = new DmucLoaithuocCollection().Where("id_loaithuoc", IdLoaithuoc).Load();

            return(coll);
        }