IDBConnection db = /* ... */ var id = /* ... */ db.Execute(@"updatedbo.Dogsset Name = 'Beowoof' where Id = @id", new { id });