public void DeleteConnectionString(string name) { var settingsFile = new AppSettingsFile(AppSettingsFilePath); settingsFile.RemoveConnectionString(name); settingsFile.Commit(); }
public void DeleteConnectionString(string name) { var settingsFile = new AppSettingsFile(Path.Combine(Environment.CurrentDirectory, AppSettingsFileName)); settingsFile.RemoveConnectionString(name); settingsFile.Commit(); }