public ViewSinglePageModel(MyLocation location)
 {
     System.Diagnostics.Debug.WriteLine ("ViewSinglePageModel::Hello");
     Location = location;
     Pin = new ObservableCollection<MyLocation>(){
         location
     };
 }
 public int SaveLocation(MyLocation loc)
 {
     lock (locker) {
         if (InDatabase(loc.Address)) {
             System.Diagnostics.Debug.WriteLine ("LocationDatabase::Place already in db, not saving.");
             return loc.ID;
         } else {
             System.Diagnostics.Debug.WriteLine ("LocationDatabase::Saved to db.");
             return database.Insert (loc);
         }
     }
 }
 public LocationCellViewModel(MyLocation loc)
 {
     _location = loc;
     _inDatabase = App.Database.InDatabase (_location.Address);
 }