public int insertGamerInfo(GameScore gameInfo) { var db = CreateDatabase(GetDataBasePath()); //creates a new table if it doesn't exists db.CreateTable <GameScore>(); db.Insert(gameInfo); return(db.Table <GameScore>().Count()); }
public void UpdateGamer(GameScore gamer) { var db = CreateDatabase(GetDataBasePath()); db.Update(gamer); }