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

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

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

            return(coll);
        }