private static void SetConnectionString(ConnectionStringForm form, string connectionString)
        {
            if (!string.IsNullOrWhiteSpace(connectionString))
            {
                var components = connectionString.Split(';');
                foreach (var component in components)
                {
                    var kvp = component.Split('=');
                    if (form.Setters.ContainsKey(kvp[0].Trim()))
                    {
                        form.Setters[kvp[0].Trim()](kvp[1]);
                    }
                }
            }

            form.SetConnectionString();
        }
 public static ConnectionStringForm Create(string connectionString)
 {
     var form = new ConnectionStringForm();
     SetConnectionString(form, connectionString);
     return form;
 }