Last post Jan 31, 2011 07:25 AM by XIII
Jan 31, 2011 07:19 AM|johnfoot|LINK
I have a problem where the Entity Framework classes generated are not optimal for binding to the user controls, for example datagrid when there are navigation properties and so on on the entities. So my solution was to create a set of custom entity classes
at the service layer which gets populated based on the data fetched through the entity framework. Is this a viable solution? what are the alternatives to this?
Jan 31, 2011 07:25 AM|XIII|LINK
yes that's a viable solution to this problem. You can either use projection in your data layer or you can make use of a tool like