private void LoadBuilderDialog(Infrastructure.Configuration.NamedConnectionElement connection)
        {
            var region = DialogRegion;

            region.ActiveViews.ToList().ForEach((v) =>
            {
                region.Deactivate(v);
                region.Remove(v);
            });
            var builderView = ServiceLocator.Current.GetInstance <ConnectionStringBuilderView>();

            builderView.Model.InitialConnection = connection;
            region.Add(builderView);
            region.Activate(builderView);
        }
 public void SaveConnection(Infrastructure.Configuration.NamedConnectionElement namedConnectionElement)
 {
     ServiceLocator.Current.GetInstance <IConfigurationService>().Save(namedConnectionElement);
 }