Пример #1
0
 public SqlInMemoryTableSessionStateRepository(string connectionString, int commandTimeout,
                                               int?retryInterval, int?retryNum)
 {
     this._retryIntervalMilSec = retryInterval.HasValue ? retryInterval.Value : DEFAULT_RETRY_INERVAL;
     this._connectString       = connectionString;
     this._maxRetryNum         = retryNum.HasValue ? retryNum.Value : DEFAULT_RETRY_NUM;
     this._commandTimeout      = commandTimeout;
     this._commandHelper       = new SqlCommandHelper(commandTimeout);
 }