In C# VS2008 how to replace new SqlParameter("@values", SqlDbType.SomeType, 1500)) to ("@values", Sq
- by CodeYun
In C# VS2008 how to replace
new SqlParameter("@Description", SqlDbType.NChar, 1500)
or
new SqlParameter("@IsRequired", SqlDbType.Bit)
to
"@Description", SqlDbType.NChar, 1500
or
"@IsRequired", SqlDbType.B
the idea is to remove new SqlParameter() and leave the parameters inside it.
I have thounds of lines code have this pattern. I just want to pass compile by using some regular expression.