title: Oracle DB to EF not working correctly for NUMBER(2,0)
body: <p>I have a table column defined like this:</p>
  
  <pre><code>ENTRY_STATUS NUMBER(2, 0) 
  </code></pre>
  
  <p>And in my EntityFramework class the respective field is defined like this:</p>
  
  <pre><code>[Column("ENTRY_STATUS")]
  public int Status { get; set; }
  </code></pre>
  
  <p>When checking the value to get an entry it works perfectly fine:</p>
  
  <pre><code>var order = testDbContext.Orders.FirstOrDefault(o =&gt; o.Status &gt; 1);
  </code></pre>
  
  <p>But when I check the <code>order</code> entity after this statement it is always zero:</p>
  
  <pre><code>if (order != null)
  {
      if (order.Status == 3) //Always Zero!!!
      { //Do something... 
      }
  }
  </code></pre>
  
  <p>What went wrong here with my definitions? How do I fix this?</p>