Exemple #1
0
 /// <devdoc>
 /// Handles the removal of the connection string node.
 /// </devdoc>                
 private void OnConnectionStringNodeRemoved(object sender, ConfigurationNodeChangedEventArgs e)
 {
     this.connectionStringNode = null;
     ConnectionString = string.Empty;
 }
Exemple #2
0
 /// <devdoc>
 /// Handles the removal of the connection string node.
 /// </devdoc>
 private void OnConnectionStringNodeRemoved(object sender, ConfigurationNodeChangedEventArgs e)
 {
     this.connectionStringNode = null;
     ConnectionString          = string.Empty;
 }
Exemple #3
0
        private void CreateDefaultConnectionStringNode()
        {
            ConnectionStringNode node = new ConnectionStringNode(new ConnectionStringData(SR.DefaultNewConnectionStringName));

            Nodes.AddWithDefaultChildren(node);
        }
 private void CreateDefaultConnectionStringNode()
 {
     ConnectionStringNode node = new ConnectionStringNode(new ConnectionStringData(SR.DefaultNewConnectionStringName));
     Nodes.AddWithDefaultChildren(node);
 }