I have SQL Server stored procedures which have several inputs. I want to save time from manually creating C# ADO.NET sqlParameter arrays as in
sqlParameter[] sqlParameters =
{ new SqlParameter("customerID", SqlDbType.Int, 4, ParameterDirection.Input, false, 0, 0, string.Empty, DataRowVersion.Default, custID) .......
Any code generator which can this and a template which can do this? If you mention a code generator, please mention which template. Like which one for CodeSmith.