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