Exemple #1
0
        public EmployeeterritoryCollection FetchByQuery(Query qry)
        {
            EmployeeterritoryCollection coll = new EmployeeterritoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public EmployeeterritoryCollection FetchAll()
        {
            EmployeeterritoryCollection coll = new EmployeeterritoryCollection();
            Query qry = new Query(Employeeterritory.Schema);

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