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

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

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

            return(coll);
        }