public TestDBContext(IReflectionHelper reflectionHelper, IDbObjectsFactory dbObjectFactory) : base(reflectionHelper, dbObjectFactory) { }
public TestDBContext(string connectionString, IReflectionHelper reflectionHelper, IDbObjectsFactory dbObjectFactory) : base(connectionString, reflectionHelper, dbObjectFactory) { }
public BaseDbContext(string connectionString, IReflectionHelper reflectionHelper, IDbObjectsFactory dbObjectFactory) : base(connectionString) { initializeDbContext(reflectionHelper, dbObjectFactory); _connectionString = connectionString; }
private void initializeDbContext(IReflectionHelper reflectionHelper, IDbObjectsFactory dbObjectFactory) { _reflectionHelper = reflectionHelper; _dbObjectFactory = dbObjectFactory; }
public BaseDbContext(IReflectionHelper reflectionHelper, IDbObjectsFactory dbObjectFactory) : base("name=TestDBContext") { initializeDbContext(reflectionHelper, dbObjectFactory); _connectionString = this.Database.Connection.ConnectionString; }