Exemplo n.º 1
0
        public LHisDichvuCollection FetchByQuery(Query qry)
        {
            LHisDichvuCollection coll = new LHisDichvuCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public LHisDichvuCollection FetchAll()
        {
            LHisDichvuCollection coll = new LHisDichvuCollection();
            Query qry = new Query(LHisDichvu.Schema);

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

            return(coll);
        }