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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public ProductVendorCollection FetchByID(object ProductID)
        {
            ProductVendorCollection coll = new ProductVendorCollection().Where("ProductID", ProductID).Load();

            return(coll);
        }