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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public VendorAddressCollection FetchByID(object VendorID)
        {
            VendorAddressCollection coll = new VendorAddressCollection().Where("VendorID", VendorID).Load();

            return(coll);
        }