O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

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

Creating and implementing the BookLibrary data model

In this section, we will take a look at how to create our BookLibrary data model class, which will define information relating to our book item entries, as well as define database-specific attributes and attach them to properties defined within our model. It will also implement the remaining required properties within our data model.

The advantage of creating a data model is that it is much easier to add additional properties to this model and then implement these in the relevant class files, or Razor template pages. Another advantage of using a data model is that you can bind this model to a database or bind this to data stored within a Microsoft Azure database. As we progress throughout ...

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