Only parameterless constructors and initializers are supported in LINQ to Entities
Posted by: Code Climber,
on 25 Aug 2010 |
View original | Bookmarked: 0 time(s)
Back from the holiday an nice surprise was awaiting for me: Ive to finalize (as in make it work) an application that someone that left the company developed more than one year ago. Among the other problems one real surprised me: the project is built with .NET 3.5 and uses Entity Framework v1 and in some the queries failed with the following strange error: Only parameterless constructors and initializers are supported in LINQ to Entities. Just to be clear, it was a runtime error, not a build...