Example #1
0
        public TaiKhoanCollection FetchByQuery(Query qry)
        {
            TaiKhoanCollection coll = new TaiKhoanCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public TaiKhoanCollection FetchAll()
        {
            TaiKhoanCollection coll = new TaiKhoanCollection();
            Query qry = new Query(TaiKhoan.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public TaiKhoanCollection FetchByID(object MaTK)
        {
            TaiKhoanCollection coll = new TaiKhoanCollection().Where("MaTK", MaTK).Load();

            return(coll);
        }