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