C# Class Archon.Data.ConnectionExtensions

Datei anzeigen Open project: civicsource/data

Public Methods

Method Description
EnsureOpen ( this conn ) : void
EnsureTransaction ( this conn ) : IDbTransaction
EnsureTransaction ( this conn, IsolationLevel isolationLevel ) : IDbTransaction

Method Details

EnsureOpen() public static method

public static EnsureOpen ( this conn ) : void
conn this
return void

EnsureTransaction() public static method

public static EnsureTransaction ( this conn ) : IDbTransaction
conn this
return IDbTransaction

EnsureTransaction() public static method

public static EnsureTransaction ( this conn, IsolationLevel isolationLevel ) : IDbTransaction
conn this
isolationLevel IsolationLevel
return IDbTransaction