public EmployeePayHistoryCollection FetchByQuery(Query qry) { EmployeePayHistoryCollection coll = new EmployeePayHistoryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public EmployeePayHistoryCollection FetchAll() { EmployeePayHistoryCollection coll = new EmployeePayHistoryCollection(); Query qry = new Query(EmployeePayHistory.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public EmployeePayHistoryCollection FetchByID(object EmployeeID) { EmployeePayHistoryCollection coll = new EmployeePayHistoryCollection().Where("EmployeeID", EmployeeID).Load(); return(coll); }