Summary
This chapter was all about the data model basics. We created our first models in a data model and took a look at the properties of a model and the relationships between models.
A data model is a collection of models that represent the structure of the data that you would like to save in your application. Models contain properties that define exactly what data is stored in your models. Each property has a specific type that ensures that specific data types are being stored in the right property. For example, if you want to store a date, you can use a data property. The data property will make sure the format of the date is correct and also enables you to later do calculations with your dates in an easy way.
Then, we looked at the relationships between models. Relationships enable us to store data in an effective way so that a customer, for example, can have multiple addresses without having to create a lot of properties for different addresses. In the next chapter, we...