コード例 #1
0
 private Configuration(
          DatabaseType databaseType,
          IConfigurationInterest interest,
          DataFormat format,
          string url,
          string databaseName,
          string username,
          string password,
          bool useSsl,
          string originatorId,
          bool createTables,
          long transactionTimeoutMillis,
          bool reuseDatabaseName)
 {
     /*
         this.databaseType = databaseType;
         this.interest = interest;
         this.format = format;
         this.connectionProvider = new ConnectionProvider(driverClassname, url, databaseName, username, password, useSSL);
         this.actualDatabaseName = reuseDatabaseName ? databaseName : ActualDatabaseName(databaseName);
         this.originatorId = originatorId;
         this.createTables = createTables;
         this.transactionTimeoutMillis = transactionTimeoutMillis;
         beforeConnect();
         this.connection = connect();
         afterConnect();*/
 }
コード例 #2
0
 public Configuration(
     DatabaseType databaseType,
     IConfigurationInterest interest,
     DataFormat format,
     string url,
     string databaseName,
     string username,
     string password,
     bool useSsl,
     string originatorId,
     bool createTables) : this(databaseType, interest, format, url, databaseName, username, password,
     useSsl, originatorId, createTables, DefaultTransactionTimeout)
 {
 }