title: How to get the enum value instead of enum name in OData v4?
body: <p>I have an enum that looks like this:</p>
  
  <pre><code>enum Color : byte
  {
      Transparent,
      White,
      Black
  }
  </code></pre>
  
  <p>When I request the values from my Entity I get the results as strings, not integers, example:</p>
  
  <pre><code>{
      "Color": "White"
  }
  </code></pre>
  
  <p>Is there any way to make OData return the value instead of the name of the value?</p>
  
  <p>I'm using Microsoft.AspNet.OData v6.1.0, Microsoft.OData.Core v7.2.0, and Microsoft.Odata.Edm v7.2.0.</p>
  
  <p>The target framework is .Net Framework 4.6.1.</p>