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

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

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

            return(coll);
        }