Beispiel #1
0
        public EmployeeDepartmentHistoryCollection FetchByQuery(Query qry)
        {
            EmployeeDepartmentHistoryCollection coll = new EmployeeDepartmentHistoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public EmployeeDepartmentHistoryCollection FetchAll()
        {
            EmployeeDepartmentHistoryCollection coll = new EmployeeDepartmentHistoryCollection();
            Query qry = new Query(EmployeeDepartmentHistory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }