示例#1
0
 public RepositoryFactory(IWebApiDbContext repositoryContext)
 {
     _repoContext = repositoryContext;
 }
示例#2
0
 public NotFoundFilter(IWebApiDbContext dbContext)
 {
     _dbContext = dbContext;
 }
示例#3
0
 protected DataRepository(IWebApiDbContext context)
 {
     _context   = context;
     _objectSet = _context.Set <T>();
 }
示例#4
0
 public UserRepository(IWebApiDbContext context) : base(context)
 {
     _context = context;
 }