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

Updating the WalkDataModel for our TrackMyWalks app

In this section, we will begin updating our WalkDataModel so that it can communicate and interact with our RestWebService class, which will call methods to perform CRUD operations to create, retrieve, update, and delete walk trail information within our SQL Server database.

Let's take a look at how we can achieve this by going through the following steps:

  1. Locate and open the WalkDataModel.cs file, which is located in the Models folder, and ensure that it is displayed within the code editor. Enter the following highlighted code sections:
   //    //  WalkDataModel.cs    //  Data Model that will store Walk Trail Information    //    //  Created by Steven F. Daniel on 14/05/2018 // Copyright © 2018 GENIESOFT ...

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