Class KeepConnectionAliveScope
- Namespace
 - LinqToDB
 
- Assembly
 - linq2db.dll
 
Explicit DataContext connection reuse scope. See KeepConnectionAlive for more details.
public class KeepConnectionAliveScope : IDisposable
  - Inheritance
 - 
      
      KeepConnectionAliveScope
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
KeepConnectionAliveScope(DataContext)
Creates connection reuse scope for DataContext.
public KeepConnectionAliveScope(DataContext dataContext)
  Parameters
dataContextDataContextData context.
Methods
Dispose()
Restores old connection reuse option.
public void Dispose()