public override void Open() { _retryPolicy.Execute(() => { if (InnerConnection.State != ConnectionState.Open) { InnerConnection.Open(); } }); }
public override void Open() { InnerConnection.Open(); }
/// <summary> /// Opens the database connection with retry. /// </summary> public override void Open() { RetryStrategy.ExecuteWithRetry(null, () => { InnerConnection.Open(); return(true); }); }
public override void Open() { _profiler.ConnectionOpened(InnerConnection, NHProfilerContextProvider.GetLoggedDbConnection(InnerConnection)); InnerConnection.Open(); }