LINQPad not recognizing computed model properties

I'm using LINQPad with EF5 using POCO's. I have property that computes FullName (getter no setter). If I expand the treeview for my model in LINQPad, it is recognized and in fact code-completion will offer it to me when appropriate. Likewise, it works fine when testing in a console app or ASP.Net application in VS.

In LINQPad, running a query involving FullName returns the following error:

NotSupportedException: The specified type member 'FullName' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.

Thanks in advance..

Comments

Sign In or Register to comment.