Example #1
0
 public OeEfCoreDataAdapter(DbContextOptions options, Db.OeQueryCache queryCache, OeEfCoreOperationAdapter operationAdapter)
     : base(queryCache, operationAdapter)
 {
     if (options != null)
     {
         _dbContextPool = new DbContextPool <T>(options);
     }
 }
 public OeEfCoreDataAdapter(DbContextOptions?options, Cache.OeQueryCache?queryCache, OeEfCoreOperationAdapter operationAdapter)
     : base(queryCache, operationAdapter)
 {
     if (options != null)
     {
         _dbContextPool = new DbContextPool <T>(Fix.FixHelper.FixDistinctCount(options));
     }
 }