Beispiel #1
0
 public static void Initialize(EDrawDbContext context)
 {
     context.Database.EnsureCreated();
     //if (context.Status.Any())
     //{
     //    /* return; */ // DB has been seeded
     //}
 }
Beispiel #2
0
 public JobBudgetRepository(EDrawDbContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public DashBoardRepository(EDrawDbContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public LoanRepository(EDrawDbContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public BankReportRepository(EDrawDbContext context)
 {
     _context = context;
 }
Beispiel #6
0
 public InvoiceRepository(EDrawDbContext context)
 {
     _context = context;
 }
Beispiel #7
0
 public UnitOfWork(EDrawDbContext context)
 {
     _context = context;
 }
Beispiel #8
0
 public JobCategoriesRepository(EDrawDbContext context)
 {
     _context = context;
 }