Create a partial class for the object you want to extend
eg.
public partial class Customer
{
public string MyProperty{get;set;}
}
This property will be disabled, and you will be able to fill it with data after running a query or materialization.
OR
Create a wrapper class for your entity that displays both the unmapped property and the associated properties, the properties you need in the view.
source
share