public EFPersistenceContext(BankingDbContext context)
 {
     this.dbContext = context;
     BankAccountMetaDataRepository = new EFBankAccountMetaDataRepository(context);
     CardMetaDataRepository        = new EFCardMetaDataRepository(context);
     CustomerRepository            = new EFCustomerRepository(context);
     CardRepository = new EFCardRepository(context);
     //CardTransactionRepository = new EFCardTransactionRepository(context);
 }
示例#2
0
 public BaseRepository(BankingDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public EFBankAccountMetaDataRepository(BankingDbContext context) : base(context)
 {
 }
 public EFCardMetaDataRepository(BankingDbContext dbContext) : base(dbContext)
 {
 }
 public EFCustomerRepository(BankingDbContext dbContext) : base(dbContext)
 {
 }