Beispiel #1
0
 public GenericRepository()
 {
     this.context = new AlbumSystemDbContext();
     this.set     = context.Set <T>();
 }
Beispiel #2
0
 public GenericRepository(IAlbumSystemDBContext context)
 {
     this.context = context;
     this.set     = context.Set <T>();
 }
Beispiel #3
0
 public AlbumSystemData(IAlbumSystemDBContext context)
 {
     this.context      = context;
     this.repositories = new Dictionary <Type, object>();
 }