示例#1
0
文件: UnitOfWork.cs 项目: jcmdsbr/tot
 public UnitOfWork(TotDbContext context)
 {
     _context = context;
 }
示例#2
0
 public FeedbackWriteOnlyRepository(TotDbContext writeDbContext)
 {
     _writeDbContext = writeDbContext;
 }
示例#3
0
 public ReadOnlyRepository(TotDbContext db)
 {
     _dbSet = db.Set <TEntity>();
 }