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