“Metadata information not found” while using EF4's POCO Template?
问题 I just installed the POCO Template for EF4. I have a single entity in my model, AnnouncementText , and the T4 files seem to be properly generated. Attempting to access this new entity is throwing the following error when I access the auto-generated property MyObjectContext.AnnouncementTexts : InvalidOperationException: Mapping and metadata information could not be found for EntityType 'MyNamespace.AnnouncementText'. The properties on the AnnouncementText POCO seem to match up with the columns