Пример #1
0
        public EmployeeterritoryCollection FetchByQuery(Query qry)
        {
            EmployeeterritoryCollection coll = new EmployeeterritoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public EmployeeterritoryCollection FetchAll()
        {
            EmployeeterritoryCollection coll = new EmployeeterritoryCollection();
            Query qry = new Query(Employeeterritory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public EmployeeterritoryCollection FetchByID(object EmployeeID)
        {
            EmployeeterritoryCollection coll = new EmployeeterritoryCollection().Where("EmployeeID", EmployeeID).Load();

            return(coll);
        }