/// <summary>
 /// Runs the given store procedure
 /// </summary>
 /// <param name="function">The store procedure name</param>
 /// <param name="parameters">Collection of parameters</param>
 protected async Task RunAsync(string function, params SqlParameter[] parameters)
 {
     using (var connection = new InternalSqlConnection(ConnectionString))
     {
         using (var command = new InternalSqlCommand(function, connection))
         {
             await command.ExecuteNonQueryAsync(parameters);
         }
     }
 }
 public InternalSqlCommand(string function, InternalSqlConnection connection)
 {
     InnerCommand = new SqlCommand(function, connection.InnerConnection);
 }