title: Can I remove a parameter from the Dapper DynamicParameters?
body: <p>I am retrieving data from a external source. My class matches the response of the JSON. However there is an inner object inside the json. How can I remove it when I am passing it to the dynamic parameters in Dapper?</p>
  
  <p>Basic structure of the class</p>
  
  <pre><code>{
     "name": "John",
     ... 30 more fields here ...
  
     "location": {
         "city": "abcd", 
         "zip": "87123"
      }
  }
  </code></pre>
  
  <p>Using this like:</p>
  
  <pre><code>foreach (var result in response.results) 
  {
      var parameters = new DynamicParameters();
      parameters.AddDynamicParams(result);
  
      // I need to remove "location" from this parameter
      // and then I can add the city and zip
  
      parameters.AddDynamicParams(result.location.city); // etc
  
      db.Execute("save_data", parameters, commandType:CommandType.StoredProcedure);
  }
  </code></pre>