Consider the implementation of the Entity Framework in the DAL assembly. I need to add a read-only custom property to an object.
The Person class , as defined in the database, contains fields such as:
PersonID
FirstName
LastName
In the above example, I would like to create a FullName property. It will be a concatenation
FirstName + " " + LastName;
Can someone specify a .edmx
location in the file to determine this new property? Perhaps this is done in the GUI designer?
source
share