public PageRegionMapCollection FetchAll() { PageRegionMapCollection coll = new PageRegionMapCollection(); Query qry = new Query(PageRegionMap.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PageRegionMapCollection FetchByQuery(Query qry) { PageRegionMapCollection coll = new PageRegionMapCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PageRegionMapCollection FetchByID(object RegionId) { PageRegionMapCollection coll = new PageRegionMapCollection().Where("RegionId", RegionId).Load(); return coll; }