示例#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);
        }