title: Calculated properties in Entity Framework
body: <p>Suppose I have an Employee object with the following properties:</p>
  
  <pre><code>string Name { get; }
  float Hours { get; }
  float Wage { get; }
  </code></pre>
  
  <p>I want to add a property, Salary, which equals Hours * Wage. In an ordinary business object, I would simply code that up in the property, but this would presumably wiped out if the class needed to be regenerated.</p>
  
  <p>Is there an EF standard way to implement this without going through the trouble of mapping it to a database entity?</p>