Properties in partial class not appearing in Data Sources window!

Posted by Tim Murphy on Stack Overflow See other posts from Stack Overflow or by Tim Murphy
Published on 2008-11-05T01:04:02Z Indexed on 2010/04/12 4:33 UTC
Read the original article Hit count: 497

Entity Framework has created the required partial classes. I can add these partial classes to the Data Sources window and the properties display as expected. However, if I extend any of the classes in a separate source file these properties do not appear in the Data Sources window even after a build and refresh.

All properties in partial classes across source files work as expected in the Data Sources window except when the partial class has been created with EF.

EDIT: After removing the offending table for edm designer, adding back in it all works are expected. Hardly a long term solution. Anyone else come across a similar problem?

© Stack Overflow or respective owner

Related posts about partial-classes

Related posts about entity-framework