public ProductVendorCollection FetchByQuery(Query qry) { ProductVendorCollection coll = new ProductVendorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductVendorCollection FetchAll() { ProductVendorCollection coll = new ProductVendorCollection(); Query qry = new Query(ProductVendor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductVendorCollection FetchByID(object ProductID) { ProductVendorCollection coll = new ProductVendorCollection().Where("ProductID", ProductID).Load(); return(coll); }