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