コード例 #1
0
 public GenericRepository(PeriodicalsDBContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
コード例 #2
0
 public MoneyAccountRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }
コード例 #3
0
 public ThemeRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }
コード例 #4
0
ファイル: UnitOfWork.cs プロジェクト: Evhenia/epamFinalTask
 public UnitOfWork()
 {
     _context = new PeriodicalsDBContext();
 }
コード例 #5
0
 public SubscriptionRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }
コード例 #6
0
 public PaymentRepository(PeriodicalsDBContext context)
     : base(context)
 {
     _context = context;
 }