Generic Method to Create and Execute Parameterized SQL Query in .NET 4.0

Now days, developers think and talk in terms of best practice and performance. When it comes to a debate of inline v/s parametrized SQL queries, Parametrized queries were preferred over inline queries, in terms of performance as they do avoid parsing, compile etc., by caching query plans each time the query is executed. It also