DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
SessionExtensions.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace Deveel.Data {
4  public static class SessionExtensions {
5  public static IDatabase Database(this ISession session) {
6  return session.Transaction.Database;
7  }
8  }
9 }
ITransaction Transaction
Gets the instance of ITransaction that handles the transactional operations of this session...
Definition: ISession.cs:46
static IDatabase Database(this ISession session)
The representation of a single database in the system.
Definition: IDatabase.cs:40
An isolated session to a given database for a given user, encapsulating the transaction for operation...
Definition: ISession.cs:30