© Adam Freeman 2017
Adam FreemanEssential Angular for ASP.NET Core MVChttps://doi.org/10.1007/978-1-4842-2916-3_4

4. Creating the Data Model

Adam Freeman
(1)
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 I’ll 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
Question
Answer
What is it?
The data model ...

Get Essential Angular for ASP.NET Core MVC now with O’Reilly online learning.

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