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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public NhanVienCollection FetchByID(object MaNV)
        {
            NhanVienCollection coll = new NhanVienCollection().Where("MaNV", MaNV).Load();

            return(coll);
        }