/// <summary> /// Factory method to create a new <see cref="DatabaseConfiguration"/> object. /// </summary> /// <param name="key">The key for the target database required.</param> /// <returns>A <see cref="DatabaseConfiguration"/> instance object.</returns> public static DatabaseConfiguration NewDatabaseConfiguration(string key) { DatabaseConfiguration databaseConfiguration = new DatabaseConfiguration(); databaseConfiguration._key = key; return databaseConfiguration; }