Hi,
I have an application that is used by different customers. Customers want to export data according to their own format.
So I have stored procedures to retrieve data like GetAllOrdersCustomer1 and GetAllOrdersCustomer2.
Each procedure has the same parameters, for example CustomerNo and Department.
Now I generate code and get RetrievalProcedures.GetAllOrderCustomer1 and 2, etc.
But I would like to use reflection somehow to call the right generated function, But I can't figure it out, since I can't create an object of RetrievalProcedures and now I don't know how to this this.
Can anyone help me with this?
My Functions look like
GetAllOrdersCustomer1(string CustomerNo, string department, ref int returnvalue, DataAccessAdapter adapter)
GetAllOrdersCustomer2(string CustomerNo, string department, ref int returnvalue, DataAccessAdapter adapter)
Thanks in advance,
G.I.