views:

31

answers:

1

I have added a partial class to one generated by the Entity Framework. I wanted to add a calculated field that I could bind to my GridView. However, when I try to access the new property, I get an error message that this is a limitation to Entity Framework.

Are there any work arounds to accomplish this?

+6  A: 
Josh
Ahhh, yes. That is what I'm doing. I didn't even think about how EF would try to create the SQL for this.So... How can I get a result set (which contains multipal entities) with my new calculated property?Thanks for your help Josh.
Travis Gneiting
+1 just for the psychic debugging.
James Curran
Amazing! Josh, thanks so much for your help.
Travis Gneiting
@James -- I've been told before that an expert is someone who has made every possible mistake in a very narrow field ;) Less psychic than, "Oh yeah I remember that one..."
Josh