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