Method Deconstruct
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
Deconstruct(out TConnection, out ConnectionState)
Splits the scope into the connection and the state it was found in.
public void Deconstruct(out TConnection connection, out ConnectionState priorState)
Parameters
connectionTConnectionThe connection.
priorStateConnectionStateThe state it was found in.
Exceptions
- InvalidOperationException
This is a default scope.