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

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

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

            return(coll);
        }