public DefaultBillingRateCollection FetchAll() { DefaultBillingRateCollection coll = new DefaultBillingRateCollection(); Query qry = new Query(DefaultBillingRate.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DefaultBillingRateCollection FetchByQuery(Query qry) { DefaultBillingRateCollection coll = new DefaultBillingRateCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DefaultBillingRateCollection FetchByID(object Id) { DefaultBillingRateCollection coll = new DefaultBillingRateCollection().Where("id", Id).Load(); return coll; }