Views or Stored Procedures is the only easy ways (I am sure the asp.net team could come up with others) I avoid SPROCS as I have found bugs with SPROCS in EF I prefer views if I need to do something like you are asking as I can at least relate a view to
other entities.
See my blog C# Bits | Twitter @sjnaughton Always seeking an elegant solution.
Marked as answer by pallone on Feb 02, 2012 09:21 AM
sjnaughton
All-Star
27387 Points
5483 Posts
MVP
Re: Stop Entity Framework returning some properties to EntityDataSource
Feb 01, 2012 01:45 PM|LINK
Views or Stored Procedures is the only easy ways (I am sure the asp.net team could come up with others) I avoid SPROCS as I have found bugs with SPROCS in EF I prefer views if I need to do something like you are asking as I can at least relate a view to other entities.
Always seeking an elegant solution.