I have Add EntityDataModel.edmx which having two tables that are inter related each other as tblDepartment and tblEmployee.
My database name is "Form1" and Model Namespace is "Models" and Data Context Class is EmployeeContext and then I build the solution.
When step 3: Right click on the "Controllers" folder and select Add - Controller. Set
Name = EmployeeController
Template = MVC controller with read/write actions and views, using Entity Framework
Model class = tblEmployee(MVCDemo.Models)
Data Context Class = EmployeeContext(MVCDemo.Models)
Views = Razor
I got error "unable to retrieve metadata for mvc entity data model could not find clr type" in dialoug box.Please help me for this...