/// <summary> /// <para> /// Add the default child nodes for the current node. /// </para> /// </summary> /// <remarks> /// <para> /// This will add the default database type nodes. /// </para> /// </remarks> protected override void AddDefaultChildNodes() { base.AddDefaultChildNodes(); DatabaseTypeNode node = new DatabaseTypeNode(new DatabaseTypeData(SR.DefaultDatabaseTypeName, typeof(SqlServerDynamicQuery).AssemblyQualifiedName)); Nodes.AddWithDefaultChildren(node); }
/// <devdoc> /// Handles the remove of a dynamic query node. /// </devdoc> private void OnDatabaseTypeNodeRemoved(object sender, ConfigurationNodeChangedEventArgs e) { this.databaseTypeNode = null; DatabaseTypeName = string.Empty; }