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

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

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