Ejemplo n.º 1
0
        public EmployeeterritoryCollection FetchByQuery(Query qry)
        {
            EmployeeterritoryCollection coll = new EmployeeterritoryCollection();

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

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

            return(coll);
        }