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); }
public PricerInputTypeCollection FetchByID(object InTypeId) { PricerInputTypeCollection coll = new PricerInputTypeCollection().Where("in_type_id", InTypeId).Load(); return(coll); }