Here we will discuss how to resolve one entity framework error in Asp.Net. The full error message which comes as:
No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer AtgDataCombinedViewEntities.
Solution:
From data layer we return an entity. If that entity is combination of multiple entities & created manually, this error will come.
Create a Complex Type instead of entity.
Also you can check out some posts on:
- How to display serial number automatically in GridView in asp.net?
- Data files and Log files in sql server 2008
- Tutorial on MVVM with WPF
No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer AtgDataCombinedViewEntities.
Solution:
From data layer we return an entity. If that entity is combination of multiple entities & created manually, this error will come.
Create a Complex Type instead of entity.
Also you can check out some posts on:
- How to display serial number automatically in GridView in asp.net?
- Data files and Log files in sql server 2008
- Tutorial on MVVM with WPF