Click or drag to resize

DbContextConnection Property

Gets the current connection. Throws an exception if no connection is active.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static SqlConnection Connection { get; }

Property Value

Type: SqlConnection
The connection.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf no connection is active
See Also