Beispiel #1
0
 public async Task <IEnumerable <T> > FindAllAsync()
 {
     return(await RepositoryContext.Set <T>().AsNoTracking().ToListAsync());
 }
Beispiel #2
0
 protected RepositoryBase(DWContext repositoryContext)
 {
     RepositoryContext = repositoryContext;
     DWDbSet           = RepositoryContext.Set <T>();
 }