Esempio n. 1
0
        public KskDanhsachNhanvienCollection FetchByQuery(Query qry)
        {
            KskDanhsachNhanvienCollection coll = new KskDanhsachNhanvienCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public KskDanhsachNhanvienCollection FetchAll()
        {
            KskDanhsachNhanvienCollection coll = new KskDanhsachNhanvienCollection();
            Query qry = new Query(KskDanhsachNhanvien.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }