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