/// <summary> /// Clones the current connection in a new one /// </summary> public void Clone() { if (CurrentConnection != null) { SqlConnectionInfo newItem = CurrentConnection.Clone(); newItem.ConnectionID += "(Copy)"; SqlConnections.Add(newItem); CurrentConnection = newItem; IsInEditMode = true; IsChanged = true; } }