..NET Assembly CustomerInfo.dll has a class by name CustomerInfo which inturn has two methods GetCustomer() and GetCustomerDetails() and GetCustomer() calls GetCustomerDetails().
GetCustomerDetails() takes two input parameters, Stored Procedure Name and Customer Id and returns a dataset.
We want to find the Stored Procedure name which is being passed as input parameter to GetCustomerDetails() function on call from GetCustomer(), when we analyze the assembly using reflection in ASP.NET.
Class CustomerInfo
{
public dataset GetCustomer(int CustomerId)
{
string SP1 = "Stored_Procedure1";
string SP2 = "Stored_Procedure2";
string SP3 = "Stored_Procedure3";
return GetCustomerDetails(SP1,CustomerId);
}
public dataset GetCustomerDetails(string StoreProc,CustomerId)
{
//Logic to get the data from the database.
}
}
When we analyze this assembly, i want to know the value for the paramter StoreProc being passed to the function GetCustomerDetails(). In this case the value being "Stored_Procedure1".
Can anybody help on this?
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com