© Adam Freeman 2019
A. FreemanEssential Angular for ASP.NET Core MVC 3https://doi.org/10.1007/978-1-4842-5284-0_4

4. Creating the Data Model

Adam Freeman1 
London, UK
In this chapter, I start adding functionality to the ASP.NET Core MVC and Angular parts of the project to create a data model. I’ll set up a SQL Server database to store the application data and define the model classes that Entity Framework Core will use to represent the data. On the Angular side, I’ll define the TypeScript classes that will represent the data and define a repository that will make the data available throughout the application. Table 4-1 puts creating the data model into context.
Table 4-1.

Putting the Data Model in Context



What is it?

The data model describes ...

Get Essential Angular for ASP.NET Core MVC 3: A Practical Guide to Successfully Using Both in Your Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.