How do I fix "error 1004, 0, Unable to find property" in an Entity Framework 4 WinForms application?

Posted by Ivan on Stack Overflow See other posts from Stack Overflow or by Ivan
Published on 2010-05-08T14:29:41Z Indexed on 2010/05/08 14:38 UTC
Read the original article Hit count: 286

I've designed an EF4 model (quite complex inheritance, lots of small tables incl. multiple self-referencing), generated (table-per-type) a database and inserted some basic data manually.

It works fine in an ASP.Net Dynamic Data Entities web application with full automatic scaffolding.

But when in a WinForms application using the same model (I share it as a part of a class library) I construct a query and bind a combo box to it (the way it's shown here), I get an InnerException {"Internal .NET Framework Data Provider error 1004, 0, Unable to find property...

I've found a question about the same problem here (incl. a sample to reproduce the error) but no answer. I use final Visual Studio 2010, no beta.

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about winforms