© 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 
(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 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 describes ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.