| | 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
Syntaxpublic static SqlConnection Connection { get; }Property Value
Type:
SqlConnectionThe connection.
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | If no connection is active |
See Also