You need to follow the same steps which you used to follow while calling the SP from sql. You can call a oracle function like this:
using (OracleConnection con = new OracleConnection("Data Source=Test;User Id=Test;Password=Test;"))
{
con.Open();
OracleCommand cmd = new OracleCommand("ACC.GET_WAFR_FROM_DETAIL");
cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Connection = cnn;
OracleDataReader odr = cmd.ExecuteReader();
while (odr.Read())
{
Console.WriteLine(odr.GetOracleValue(0));
}
Console.ReadLine();
}
--Amit