Beispiel #1
0
 public async Task <ICollection <TObject> > GetAllAsync()
 {
     return(await _DbContext.Set <TObject>().ToListAsync());
 }
Beispiel #2
0
 public RepositoryBase()
 {
     _DbContext = new AldeloEntities();
     _DbSet     = _DbContext.Set <TObject>();
 }