I need help with the below code I would like to generate it using CodeDom in C#.
Is there any way to do this?
If there is no way to do this in CodeDom is the any alternative way beside using statement?
using (SqlConnection con1 = new SqlConnection(Core.ConnectionStringSample))
{
using (SqlCommand cmd = con1.CreateCommand())
{
}
}