コード例 #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);
        }