MVC Entity Framework error / EF Error
From a page in IIS or a debug session in Visual Studio, you receive the following error:
The associated metadata type for type contains the following unknown properties or fields:
Please make sure that the names of these members match the names of the properties on the main type
The MetadataGenerator.cs file has references to out-of-date relationships.
Rebuild or edit the MetadataGenerator.cs file. Since MetadataGenerator.cs is an autogenerated file.
Be careful that you don’t lose custom DataAnnotations that you have made for UI and client-side error handling.
For more information about Acumen Software Design, contact us today!
To learn more about Visual Studio, click on the link below: