public AdminkaODataContext(string baseUri, IDbContextOptionsFactory optionsFactory, Action <string> verbose) { var dataAdapter = new AdminkaOeEfCoreDataAdapter(optionsFactory, verbose); //Build OData Edm Model EdmModel edmModel = dataAdapter.BuildEdmModel(); //Create query parser this.parser = new OeParser(new Uri(baseUri /*"http://dummy"*/), edmModel); }
public BankAccountRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }
public ExpenseCategoryRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }
public SubscriptionRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }
public DbService(IDbContextOptionsFactory optionsFactory) { _optionsFactory = optionsFactory; }
public AdminkaOeEfCoreDataAdapter(IDbContextOptionsFactory optionsFactory, Action <string> verbose) { this.optionsFactory = optionsFactory; this.verbose = verbose; }
public SalesDocumentRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }