Example #1
0
 public EF6DatabaseAccess(IDbContextFactory dbContextFactory,
                          IRequestDbContextCache requestDbContextCache,
                          IModelMetadataExplorer modelMetadataExplorer)
 {
     this.dbContextFactory      = dbContextFactory;
     this.requestDbContextCache = requestDbContextCache;
     this.modelMetadataExplorer = modelMetadataExplorer;
 }
Example #2
0
 public EFCoreDatabaseAccess(IDbContextFactory dbContextFactory, IRequestDbContextCache requestDbContextCache)
 {
     this.dbContextFactory      = dbContextFactory;
     this.requestDbContextCache = requestDbContextCache;
 }