Table of Contents

Property PriorState

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

PriorState

Gets the state the connection was in when the scope was made (not its state now): for example Closed, or Open (possibly with Executing or Fetching), or with Broken set.

public ConnectionState PriorState { get; }

Property Value

ConnectionState

The state the connection was in when the scope was made.