public ShipmentSizeCollection FetchAll() { ShipmentSizeCollection coll = new ShipmentSizeCollection(); Query qry = new Query(ShipmentSize.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ShipmentSizeCollection FetchByQuery(Query qry) { ShipmentSizeCollection coll = new ShipmentSizeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ShipmentSizeCollection FetchByID(object ShipmentSizeId) { ShipmentSizeCollection coll = new ShipmentSizeCollection().Where("shipment_size_Id", ShipmentSizeId).Load(); return coll; }