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