C# Class Simple.DataContextSimplyExtensions

Show file Open project: juanplopes/simple

Public Methods

Method Description
BeginTransaction ( this simple ) : ITransaction
BeginTransaction ( this simple, IsolationLevel isolationLevel ) : ITransaction
EnterContext ( this simple ) : IDataContext
GetContext ( this simple ) : IDataContext
GetContext ( this simple, bool throwException ) : IDataContext
GetContextList ( this simple ) : IEnumerable
GetSession ( this simple ) : ISession
NewSession ( this simple ) : ISession

Method Details

BeginTransaction() public static method

public static BeginTransaction ( this simple ) : ITransaction
simple this
return ITransaction

BeginTransaction() public static method

public static BeginTransaction ( this simple, IsolationLevel isolationLevel ) : ITransaction
simple this
isolationLevel IsolationLevel
return ITransaction

EnterContext() public static method

public static EnterContext ( this simple ) : IDataContext
simple this
return IDataContext

GetContext() public static method

public static GetContext ( this simple ) : IDataContext
simple this
return IDataContext

GetContext() public static method

public static GetContext ( this simple, bool throwException ) : IDataContext
simple this
throwException bool
return IDataContext

GetContextList() public static method

public static GetContextList ( this simple ) : IEnumerable
simple this
return IEnumerable

GetSession() public static method

public static GetSession ( this simple ) : ISession
simple this
return ISession

NewSession() public static method

public static NewSession ( this simple ) : ISession
simple this
return ISession