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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public CustomerAddressCollection FetchAll()
        {
            CustomerAddressCollection coll = new CustomerAddressCollection();
            Query qry = new Query(CustomerAddress.Schema);

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