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