예제 #1
0
 public override void Open()
 {
     RetryAction.RunRetryableAction(null, Connection.Open);
 }
예제 #2
0
 public override int ExecuteNonQuery()
 {
     return(RetryAction.RunRetryableAction <int>(this.Connection, Command.ExecuteNonQuery));
 }
예제 #3
0
 public override object ExecuteScalar()
 {
     return(RetryAction.RunRetryableAction <object>(this.Connection, Command.ExecuteScalar));
 }
예제 #4
0
 protected override DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior)
 {
     return(RetryAction.RunRetryableAction <DbDataReader>(this.Connection, Command.ExecuteReader));
 }