public void LoadQuery(string query) { var qb = _aqbs.Get(instanceId); if (query == "artist") { qb.SQL = "Select artists.ArtistId, artists.Name From artists"; } else { qb.SQL = "Select tracks.TrackId, tracks.Name From tracks"; } _aqbs.Put(qb); }
public void LoadQuery(string query) { var qb = _aqbs.Get(instanceId); if (query == "artist") { qb.SQL = "Select artists.ArtistId, artists.Name From artists"; } else { qb.SQL = "Select tracks.TrackId, tracks.Name From tracks"; } _aqbs.Put(qb); }