예제 #1
0
 /// <summary>
 /// Sets up the current settings from application config
 /// </summary>
 static DatabaseCommandConfiguration()
 {
     _current = ConfigurationManager.GetSection("databaseCommandConfiguration") as DatabaseCommandConfiguration;
     if (_current == null)
     {
         Log.Warn("Configuration section: databaseCommandConfiguration not specified. Default configuration will be used");
         _current = new DatabaseCommandConfiguration();
     }
 }
 /// <summary>
 /// Sets up the current settings from application config
 /// </summary>
 static DatabaseCommandConfiguration()
 {
     _current = ConfigurationManager.GetSection("databaseCommandConfiguration") as DatabaseCommandConfiguration;
     if (_current == null)
     {
         Log.Warn("Configuration section: databaseCommandConfiguration not specified. Default configuration will be used");
         _current = new DatabaseCommandConfiguration();
     }
 }