Hi Edhy , thanks for your reply.
I have implemented your suggestion and changed my code around a bit, and it works fine, as long as method name is the same, and I am over-riding a spefic method.
What I was trying to get at , was a way of running a method, but the method name may be different, really a way of passing a method name as a parameter, and then running the 'passed' method. Each BO could have a different method name and I am trying to pass the Bo and method name to a general purpos type routine.
Say for instance I have a Cutomers BO with a method called CalculateCustomers and a Stock BO with a Method called CalculateStock. I then want to pass a BO and a method name to a Routine which will execute the Method I have called on the Bo I have called.
So I might RunMyMethod(CustomerBO,"CalculateCustomers") or RunMyMethod(StockBO,"CalculateStock") and Pseudo code for RunMyMethod would be:
RunMyMethod(MicroFour.StrataFrame.Business.BusinessLayer MyBo, string MyMethodName)
{ BO.MyMethodName() }
The end result of this is to run the CalclateCustomers method in the CustomersBO or run the CalculateStock in the StockBO etc