private static async Task LoadRelatedEntities(this MusicDb db, Work work) { await db.Entry(work).Collection(x => x.Tracks).LoadAsync(); }
private static async Task LoadRelatedEntities(this MusicDb db, Track track) { await db.Entry(track).Collection(x => x.MusicFiles).LoadAsync(); }
private static async Task LoadRelatedEntities(this MusicDb db, Performance performance) { await db.Entry(performance).Collection(x => x.Movements).LoadAsync(); }