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