private IQueryable <ArtistVM> FetchAndPopulateAll() { return(TModel .Include(artist => artist.AlbumArtist) .ThenInclude(aa => aa.Album) .Select(artist => populateArtist(artist))); }
private IQueryable <SeriesVM> FetchAndPopulateAll() { return(TModel .Include(series => series.Albums) .ThenInclude(album => album.AlbumArtist) .ThenInclude(aa => aa.Artist) .Select(series => populateSeries(series))); }
private IQueryable <AlbumVM> FetchAndPopulateAll() { return(TModel .Include(album => album.AlbumArtist) .ThenInclude(aa => aa.Artist) .Include(Album => Album.Songs) .ThenInclude(song => song.ArtistSong) .ThenInclude(artSong => artSong.Artist) .Select(album => populateAlbum(album))); }
private IQueryable <SongVM> FetchAndPopulateAll() { return(TModel .Include(song => song.Album) .ThenInclude(album => album.AlbumArtist) .ThenInclude(aa => aa.Artist) .Include(song => song.ArtistSong) .ThenInclude(artist => artist.Artist) .Select(song => populateSong(song))); }