public void ResetSettings() { var setting = new DbBuildingSettings(Settings.Current.Building.BuilderConnectionString); setting.Reset(); var builder = new DbBuilder(Settings.Current.Building.BuilderConnectionString); if (Settings.Current.Builder.Id.HasValue) { builder.Reset(Settings.Current.Builder.Id.Value); } }