public PilotViewController(Pilot pilot) : base(UITableViewStyle.Grouped, new RootElement (null)) { TabBarItem.Image = UIImage.FromBundle ("Images/user"); Autorotate = true; Title = "Pilot"; Pilot = pilot; }
/// <summary> /// Update the pilot information. /// </summary> /// <param name='pilot'> /// The pilot to update. /// </param> public static bool Update(Pilot pilot) { if (sqlitedb.Update (pilot) > 0) { OnPilotUpdated (); pilot.OnUpdated (); return true; } return false; }