Exemplo n.º 1
0
        public AccountsRepository(ILogger <AccountsRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, IAccountsDbContext dbContext)
        {
            this._logger = logger;

            this._dbContext = dbContext;
            this._objectDocumentSerializer = objectDocumentSerializer;
        }
Exemplo n.º 2
0
 protected AbstractConfigurationRepository(ILogger logger, IDbConnectionFactory dbConnectionFactory, TDbContext dbContext, IObjectDocumentSerializer objectDocumentSerializer, IMemoryCache memoryCache)
 {
     _logger = logger;
     _dbConnectionFactory      = dbConnectionFactory;
     _dbContext                = dbContext;
     _objectDocumentSerializer = objectDocumentSerializer;
     _memoryCache              = memoryCache;
 }
Exemplo n.º 3
0
        public ObjectDocumentSerializerTests()
        {
            var services = new ServiceCollection();

            services.AddOptions();
            services.AddLogging();
            //services.Boot();
            services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());
            services.AddScoped <ObjectDocumentSerializer, ObjectDocumentSerializer>();

            _objectDocumentSerializer = services.BuildServiceProvider().GetService <ObjectDocumentSerializer>();
        }
Exemplo n.º 4
0
 public CompaniesRepository(ILogger <CompaniesRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, ICompaniesDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
 public ObjectDocumentSerializerTests()
 {
     _logger = LoggerFactory.CreateLogger <ObjectDocumentSerializerTests>();
     _objectDocumentSerializer = ServiceProvider.GetService <IObjectDocumentSerializer>();
 }
 public AgentsRepository(ILogger <AgentsRepository> logger, IAgentsDbContext dbContext, IObjectDocumentSerializer objectDocumentSerializer) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
 public InvoiceRepository(ILogger <InvoiceRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, IInvoicesDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
Exemplo n.º 8
0
 public RequestsRepository(ILogger <RequestsRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, IRequestsDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
Exemplo n.º 9
0
 public QuotesRepository(ILogger <QuotesRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, IQuotesDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
 public ProductsRepository(ILogger <ProductsRepository> logger, IDbConnectionFactory dbConnectionFactory, IProductsDbContext dbContext, IObjectDocumentSerializer objectDocumentSerializer, IMemoryCache memoryCache) :
     base(logger, dbConnectionFactory, dbContext, objectDocumentSerializer, memoryCache)
 {
 }
 public CustomersRepository(ILogger <CustomersRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, ICustomersDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
Exemplo n.º 12
0
 public LeadsRepository(ILogger <LeadsRepository> logger, IObjectDocumentSerializer objectDocumentSerializer,
                        ILeadsDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }
 protected AbstractCoreRepository(ILogger logger, TDbContext dbContext, IObjectDocumentSerializer objectDocumentSerializer)
 {
     _logger    = logger;
     _dbContext = dbContext;
     _objectDocumentSerializer = objectDocumentSerializer;
 }
Exemplo n.º 14
0
 public CardRepository(ILogger <CardRepository> logger, IObjectDocumentSerializer objectDocumentSerializer, ICardsDbContext dbContext) :
     base(logger, dbContext, objectDocumentSerializer)
 {
 }