oConfiguration : EntityConfiguration&lt;Foo&gt;
{
    protected override void Configure(IEntityBuilder&lt;Foo&gt; entityBuilder)
    {
        entityBuilder.MapPostgresEnum(x =&gt; x.Bar);
    }
}
</code></pre>
<div class="NOTE">
<h5>Note</h5>
<p>It is enough to map your PostgreSQL enum once in an assembly. However, if you prefer, you can also configure it multiple times.</p>
</div>
<div class="NOTE">
<h5>Note</h5>
<p>By default the name of the enum within C# will be converted to a lower-cased <code>_</code