/// <summary> /// Sets the database driver. /// </summary> /// <param name="dbSpecification">The db specification.</param> public void SetDatabaseDriver(DbDriverConfiguration dbSpecification) { connectionFactoryDesc = new DbDriverFactoryConnection(dbSpecification); }
/// <summary> /// Initializes a new instance of the <see cref="DbDriverFactoryConnection"/> class. /// </summary> /// <param name="dbSpecification">The db specification.</param> public DbDriverFactoryConnection(DbDriverConfiguration dbSpecification) { _driver = ResolveDriverFromName(dbSpecification.DriverName); _driver.Properties = dbSpecification.Properties; }