/// <summary> /// Initializes a new instance of the <see cref="BaseDataAccess" /> class. /// </summary> /// <param name="configuration">The configuration.</param> public Db(DbConfigSettingsElement configuration) { ConnectionString = configuration.ToString(); var outputString = $"Host={configuration.HostName};Port={configuration.Port};Database={configuration.Database};User Id={configuration.Username};Password=*******;"; Log.Info(outputString); }
public Settings() { DbConfig = new DbConfigSettingsElement(); Ui = new UiSettingsElement(); }