예제 #1
0
        public LoaiThanhVienCollection FetchByQuery(Query qry)
        {
            LoaiThanhVienCollection coll = new LoaiThanhVienCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public LoaiThanhVienCollection FetchAll()
        {
            LoaiThanhVienCollection coll = new LoaiThanhVienCollection();
            Query qry = new Query(LoaiThanhVien.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public LoaiThanhVienCollection FetchByID(object MaLoaitv)
        {
            LoaiThanhVienCollection coll = new LoaiThanhVienCollection().Where("MaLoaitv", MaLoaitv).Load();

            return(coll);
        }