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