public Investigate() { this.connectionFactory = new DebugConnectionFactory(); this.cacheFactory = new DebugCacheFactory(); var configuration = new Configuration { ConnectionString = ConfigurationManager.ConnectionStrings["allors"].ConnectionString, ObjectFactory = Config.ObjectFactory, IsolationLevel = IsolationLevel.Snapshot, CommandTimeout = 0, ConnectionFactory = this.connectionFactory, CacheFactory = this.cacheFactory }; this.database = new Database(configuration); }
protected void SetUp() { this.connectionFactory = new DebugConnectionFactory(); this.cacheFactory = new DebugCacheFactory(); this.profile = new Profile(this.connectionFactory, this.cacheFactory); }
public Profile(DebugConnectionFactory connectionFactory, DebugCacheFactory cacheFactory) { this.connectionFactory = connectionFactory; this.cacheFactory = cacheFactory; }