xamarin sqlite get each row of table
snippet in sql

xamarin sqlite get each row of table

user9537

    public List<AlbumTable> getalldata() {
        try {
            using (var connection = new SQLiteConnection(Path.Combine(dir.AbsolutePath, "album.db"))) {
                return connection.Table<AlbumTable>().ToList();
            }
        }
        catch (SQLiteException ex) {
            return null;
        }
    }