public PricerCompanyRateCollection FetchAll() { PricerCompanyRateCollection coll = new PricerCompanyRateCollection(); Query qry = new Query(PricerCompanyRate.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PricerCompanyRateCollection FetchByQuery(Query qry) { PricerCompanyRateCollection coll = new PricerCompanyRateCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PricerCompanyRateCollection FetchByID(object PricerRateId) { PricerCompanyRateCollection coll = new PricerCompanyRateCollection().Where("pricer_rate_Id", PricerRateId).Load(); return coll; }