support POCO methods and properties in LINQ to Entities
Currently I get the following exception when accessing POCO methods and properties.
NotSupportedException: The specified type member 'Language' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.
-
Craig commented
I have a work around for the Internal setters. Rebuild a DLL that is public just for LINQPad ;)
-
Craig commented
We recently moved an Entity Navigation property to Internal, and made a public method to get a complete collection. Now I can't use LINQPad to perform my queries because it isn't one of the supported entity methods/properties.
I also have a property Language that is based on the first 2 characters of the CultureCode (en-US, en-UK) so I can query and get "any" english text. Because this Language property is not an Entity property I can't use LINQPad...