public TemplateTemplateRegionMapCollection FetchByQuery(Query qry) { TemplateTemplateRegionMapCollection coll = new TemplateTemplateRegionMapCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TemplateTemplateRegionMapCollection FetchAll() { TemplateTemplateRegionMapCollection coll = new TemplateTemplateRegionMapCollection(); Query qry = new Query(TemplateTemplateRegionMap.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }