title: Pass Objects to AutoMapper Mapping
body: <p>I am working with AutoMapper and some of the values for the entity being mapped to are variables in my current method. I have tried to Google it but to no avail. Can I pass a set of KeyValue Pairs or an object or something to my mapping to have it use those values?</p>
  
  <h3>Sample of Post Mapping Modification</h3>
  
  <pre><code>//comment variable is a Comment class instance
  var imageComment = AutoMapper.Mapper.Map&lt;Data.ImageComment&gt;(comment);
  //I want to pass in imageId so I dont have to manually add it after the mapping
  imageComment.ImageId = imageId;
  </code></pre>