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