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

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

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