예제 #1
0
 public MusicAppData(IMusicAppDbContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }
예제 #2
0
 public Repository(IMusicAppDbContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }