title: One unusual AutoMapper mapping case: is it possible to setup a high-priority common convention?
body: <p>all!</p>
  
  <p>Would you mind helping me to solve this quiz:</p>
  
  <pre><code>        public class SourceA
          {
              public int EntityId { get; set; }
              public int Id { get; set; }
              public int Other { get; set; }
          }
  
          public class DestinationA
          {
              public int Id { get; set; }
              public int Other { get; set; }
          }
  
          public class SourceB { ... }
          public class DestinationB { ... }
          ...
          public class SourceZ { ... }
          public class DestinationZ { ... }
  </code></pre>
  
  <p>I have a dozen of Source and Destination classes, which follow the same property naming scheme: each Source has <code>Id</code> and <code>EntityId</code>, and each Destination has just <code>Id</code>.
  All other properties (a lot) are named equally in Sources and Destinations.</p>
  
  <p>The task is to completely omit <code>Id</code> value from <code>Source</code>, but use instead a value from <code>EntityId</code>! And, of course, all Other properties should be mapped as usual.</p>
  
  <p>I've been trying to configure AutoMapper Profile using out-of-box Conventions, custom <code>ISourceToDestinationNameMapper</code>, and so on, but neither of my approaches were success. </p>
  
  <p>Is there any way to ask AutoMapper to use some <code>SpecialEntityIdNameMapper</code> about that unusual <code>EntityId -&gt; Id</code> mapping, which would have the <strong>highest priority</strong> among the all default mappers/conventions?</p>
  
  <p><strong>What would I expect</strong>:
  Custom convention tells AutoMapper how to map <code>EntityId</code> into <code>Id</code>, and all other properties are mapped using default conventions.</p>
  
  <p><strong>What I have actually</strong>:
  All my attempts to write such convention (<code>ISourceToDestinationNameMapper</code>) ended with the same result: AutoMapper uses only its default conventions (<code>Id -&gt; Id</code>), and my mapper event don't receive control. </p>