public void Open(string connectionStringPrimary, string connectionStringSecondary)
 {
     Close();
     Connection = new DbConnectionRedundant(connectionStringPrimary, connectionStringSecondary);
     Connection.StateRedundantChange += Connection_StateRedundantChange;
     Connection.Open();
 }
 public override void Open(ConnectionStringSettingsCollection connectionStringSettingsCollection)
 {
     ConnectionStringPrimary   = connectionStringSettingsCollection[ConnectionStringsNames.Primary]?.ConnectionString;
     ConnectionStringSecondary = connectionStringSettingsCollection[ConnectionStringsNames.Secondary]?.ConnectionString;
     Close();
     Connection = new DbConnectionRedundant(ConnectionStringPrimary, ConnectionStringSecondary);
     Connection.StateRedundantChange += Connection_StateRedundantChange;
     Connection.Open();
 }