I have been developing for Delphi for quite some time and gotten quite used to the TADOStoredProc to deal with stored procedures. The Delphi IDE by Embarcadero did lots of nice things like automatically get all the parameters automatically generate properties for the StoredProc object to access the return types. All of this happened at design time.
I recently made the switch to C# and Visual Studio 2013 and I don't see any of those nice features. I have to manually add all the parameters in code and to access the return data, I have to use DataRow object. Is there a nice feature like TADOStoredProc in Visual Studio (MS or Third Party)?
I'm currently doing this
SqlConnection sc = new SqlConnection(connectionString);
SqlCommand com = new SqlCommand("StorePrc", sc);
com.CommandType = System.Data.CommandType.StoredProcedure;
com.Parameters.AddWithValue("@id", 1);
using (SqlDataReader sdr = com.ExecuteReader())
{
...
}
Thanks in advance