When overridden in a derived class, provides a connection to the database specified in the Context.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
protected abstract IDbConnection Connection { get; }
Visual Basic (Declaration)
Protected MustOverride ReadOnly Property Connection As IDbConnection

Return Value

A database connection.

Remarks

The UnitOfWork does not cache the returned connection: it calls Connection whenever it needs a database connection.

See Also