Exemplo n.º 1
0
 /// <summary>
 /// Initiates a new instance of Adriva.Extensions.Analytics.Repository.EntityFramework.InMemoryRepository class.
 /// </summary>
 /// <param name="analyticsDatabaseContext">The AnalyticsDatabaseContext object that will be used to store data.</param>
 /// <param name="logger">An instance of an ILogger object that is used to write log messages to.</param>
 public InMemoryRepository(AnalyticsDatabaseContext analyticsDatabaseContext, ILogger <InMemoryRepository> logger)
     : base(analyticsDatabaseContext, logger)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initiates a new instance of Adriva.Extensions.Analytics.Repository.EntityFramework.EntityFrameworkRepository class.
 /// </summary>
 /// <param name="analyticsDatabaseContext">The AnalyticsDatabaseContext object that will be used to store data.</param>
 /// <param name="logger">An instance of an ILogger object that is used to write log messages to.</param>
 protected EntityFrameworkRepository(AnalyticsDatabaseContext analyticsDatabaseContext, ILogger logger)
 {
     this.Context = analyticsDatabaseContext;
     this.Logger  = logger;
 }