Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
 }