Suppose I have an employee object with the following properties:
Name - string Hours - single Wage - single
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.
Is there an EF standard way to implement this without going through the trouble of mapping it to a database entity?