public UnitOfInvoice(ZeynepInvoiceTrackingContext ctx) { _ctx = ctx; InvoiceNumberAllocation = new InvoiceNumberAllocationRepository(_ctx); InvoiceNumberRequestRepository = new InvoiceNumberRequestRepository(_ctx); InvoiceNumberTypeRepository = new InvoiceNumberTypeRepository(_ctx); }
public InvoiceNumberAllocationRepository(ZeynepInvoiceTrackingContext ctx) : base(ctx) { _ctx = ctx; }
public InvoiceNumberRequestRepository(ZeynepInvoiceTrackingContext ctx) : base(ctx) { _ctx = ctx; }
public Repository(ZeynepInvoiceTrackingContext ctx) { _ctx = ctx; this.dbSet = _ctx.Set <T>(); }