예제 #1
0
        public EmployeeAddressCollection FetchByQuery(Query qry)
        {
            EmployeeAddressCollection coll = new EmployeeAddressCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public EmployeeAddressCollection FetchAll()
        {
            EmployeeAddressCollection coll = new EmployeeAddressCollection();
            Query qry = new Query(EmployeeAddress.Schema);

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