/// <summary> /// Initializes a new instance of the <see cref="MqttDatabaseConnectionSettings"/> class. /// </summary> /// <param name="other">The other <see cref="MqttDatabaseConnectionSettings"/>.</param> public MqttDatabaseConnectionSettings(MqttDatabaseConnectionSettings other) { this.Host = other.Host; this.Database = other.Database; this.Username = other.Username; this.Password = other.Password; this.Port = other.Port; this.Pooling = other.Pooling; this.Timezone = other.Timezone; }
/// <summary> /// Initializes a new instance of the <see cref="DatabaseHelper" /> class. /// </summary> /// <param name="connectionSettings">The connection settings to use.</param> public DatabaseHelper(MqttDatabaseConnectionSettings connectionSettings) { this.connectionSettings = connectionSettings; }