O'Reilly logo

Essential Angular for ASP.NET Core MVC by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required