title: Entity Framework Code First - Can I hide a database field from the model?
body: <p>I'm trying to create a clean model using EF 4.3 Code first. I know enums are not fully supported until EF 5.0.</p>
  
  <p>To get around this I've been trying to do something like this:</p>
  
  <pre><code>public class Vehicle {
     public VehicleId int { get;set; }
     public VehicleType VehicleType 
     { 
        get  { return (VehicleType)VehicleTypeId; } 
     }
     internal VehicleTypeId int { get; set; }  
  }
  </code></pre>
  
  <p>So I wish to store the vehicleTypeId in the database but just show the enum in the model</p>
  
  <p>Is this possible?</p>
  
  <p>Thanks</p>