private void executeDbMethodWithSpecifiedDatabaseInfo( SqlServerInfo info, Action<DBConnection> method )
 {
     executeMethodWithDbExceptionHandling(
         () => {
             var connection =
                 new DBConnection(
                     new SqlServerInfo(
                         ( info as DatabaseInfo ).SecondaryDatabaseName,
                         info.Server,
                         info.LoginName,
                         info.Password,
                         info.Database,
                         false,
                         info.FullTextCatalog ) );
             connection.ExecuteWithConnectionOpen( () => method( connection ) );
         } );
 }
 public SqlServer( SqlServerInfo info, string dataLogicalFileName, string logLogicalFileName )
 {
     this.info = info;
     this.dataLogicalFileName = dataLogicalFileName;
     this.logLogicalFileName = logLogicalFileName;
 }