diff --git a/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md b/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md index 344809f..9aa8920 100644 --- a/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md +++ b/Site/Posts/write_your_own_rdbms_versioned_migration_boilerplate.md @@ -105,13 +105,13 @@ static NpgsqlCommand GetCommand(string query, NpgsqlConnection cnonnection, Npgs return command; } -static void Command(NpgsqlConnection cnonnection, NpgsqlTransaction transaction, string query) +static void Command(NpgsqlConnection connection, NpgsqlTransaction transaction, string query) { var command = GetCommand(query, connection, transaction); command.ExecuteNonQuery(); } -static T Query(NpgsqlConnection cnonnection, string query) +static T Query(NpgsqlConnection connection, string query) { var command = GetCommand(query, connection); return (T)command.ExecuteScalar();