AutoMapper use parent class mapping in child classes
<p>I've got two parent classes</p>

<pre><code>class Settings
{
     public Field
}
</code></pre>

<p>and </p>

<pre><code>class SettingsDb
{
    public  FieldDB
}
</code></pre>

<p>and Field mapped width  FieldDB by ForMember expression</p>

<pre><code>CreateMap&lt;SettingsDb, Settings&gt;()
                 .ForMember(dest =&gt; dest.Field,
                 opt =&gt; opt.MapFrom(src =&gt; some lambda with src.FieldDb));
</code></pre>

<p>I also have two child classes</p>

<pre><code>class AdminSettings : Setting
{
inherits Field
}

class AdminSettingsDb : SettingDb
{
inherits FieldDb
}
</code></pre>

<p>how can I map AdminSettings with AdminSettingsDb  without doing ForMember again for this inherited fields?</p>

<pre><code>CreateMap&lt;AdminSettings, AdminSettingsDb&gt;(); 
</code></pre>

<p>now this fields are empty after mapping</p>