Example #1
0
        public EmployeeTerritoryCollection FetchByQuery(Query qry)
        {
            EmployeeTerritoryCollection coll = new EmployeeTerritoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public EmployeeTerritoryCollection FetchAll()
        {
            EmployeeTerritoryCollection coll = new EmployeeTerritoryCollection();
            Query qry = new Query(EmployeeTerritory.Schema);

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