public static Page getMainPage() { SQLiteConnection _connection = DependencyService.Get<ISQLite>().GetConnection(); if (!TableExists("Users",_connection)) _connection.CreateTable<Users> (); People guy = new People ("John", "John"); People gal = new People ("Jill", "Jill"); People thirdGuy = new People ("Peter", "Peter"); guy = People.GetByUserName ("John"); gal = People.GetByUserName ("Jill"); thirdGuy = People.GetByUserName ("Peter"); People fourth = new People ("Dean", "Dean"); guy.Name = "Paul"; guy.zipCode = 2100; guy.height = 175; guy.blind = true; guy.Update (); gal.Name = "Laura"; gal.zipCode = 2100; gal.blind = false; gal.height = 162; gal.Update (); thirdGuy.Name = "Paul"; thirdGuy.zipCode = 2200; thirdGuy.blind = false; thirdGuy.height = 175; thirdGuy.Update (); fourth.Name = "Dean"; fourth.zipCode = 2100; fourth.blind = false; fourth.height = 175; fourth.Update (); List<People> allPeople = guy.Matches (); NavigationPage MP = new NavigationPage(new MainPage ()); return MP; }