示例#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);
        }