Esempio n. 1
0
        public EmployeeDepartmentHistoryCollection FetchByQuery(Query qry)
        {
            EmployeeDepartmentHistoryCollection coll = new EmployeeDepartmentHistoryCollection();

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public EmployeeDepartmentHistoryCollection FetchByID(object EmployeeID)
        {
            EmployeeDepartmentHistoryCollection coll = new EmployeeDepartmentHistoryCollection().Where("EmployeeID", EmployeeID).Load();

            return(coll);
        }