ASP.NET MVC The Problem of Creating a Strongly Typed View

I am currently studying ASP.MVC. I'm having trouble creating a strongly typed view. I added Entity Data Models to the models, and then tried to add a strongly typed representation based on the entity data model that I created. But I do not see any classes in the "View Data Class" in the "Add View" dialog box.

Do I miss my son?

+1
source share
2 answers

The steps I took for this:

Create an entity data model in a new project as part of the solution.

Add some objects to EDM using the model browser.

"" MVC, , . EDM MVC.

cerate ActionResult ( View Result), . ...

. , , , , .

0

, .

+2

Source: https://habr.com/ru/post/1712177/


All Articles