Model classes are not listed when "a controller using Entity FrameWork" is added
ASP.NET
1
Posts
1
Posters
2
Views
1
Watching
-
Hi, I'm working on ASP.NET MVC test project. I decided to isolate my DataLayer from the main project. So, I added another project to my solution. I created all my model classes (public access modifier). Then I created my context class so DbContex can make relationships with my models. Then, I made my repositories using interfaces and implemented them. Then, I used EntityFramework to do migrations. Finally, I could create my CodeFirst database in SQL Server. Now, I want to add an admin area to my main project. After adding, I decided to add controllers using Entity Framework. But it doesn't list my DataLayer and its model classes in the list. How can I fix it? I can show you all my classes and interfaces if it was necessary.