public RegionCollection FetchByQuery(Query qry) { RegionCollection coll = new RegionCollection(); coll.Load(qry.ExecuteReader()); return(coll); }
public RegionCollection FetchAll() { RegionCollection coll = new RegionCollection(); Query qry = new Query(Region.Schema); coll.Load(qry.ExecuteReader()); return(coll); }
public RegionCollection FetchByID(object RegionID) { RegionCollection coll = new RegionCollection().Where("RegionID", RegionID).Load(); return(coll); }