Data extensions

Extensions for ADO.NET to make it easier to work with queries and SQL commands.

Adding parameters

As the IDbCommand interface do not provide a simple way to insert arguments into a command we've added an small extension method for that:

using (var cmd = connection.CreateCommand())
{
    cmd.CommandText = "SELECT * FROM Users WHERE Name = @name";
    cmd.AddParameter("name", "Arne Nilsson");
}

More info