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

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

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

            return(coll);
        }