7. Next, add the following methods to the OrderDetail class (Note that you are adding a second overload of the GetOrderDetail method that accepts an orderID parameter of type object, whereas the method you added in the previous step accepted an orderID parameter of type integer): /// <summary> /// Returns a DataSet containing all order items for the specified order /// </summary> /// <param name="orderID"></param> /// <returns></returns> public DataSet GetOrderDetail(object orderID) { if (orderID != null) { return this.GetOrderDetail((int)orderID); } else { return this.GetEmptyDataSet(); } }My code:
public DataSet GetOrderDetail(object orderID) { if (orderID != null) { return this.GetOrderDetail((int)orderID); } else { return this.GetEmptyDataSet(); } }GetOrderDetail() calls itself repeatedly.