Public Member Functions |
| DelegatingSession (ISession session) |
void | Dispose () |
void | Flush () |
IDbConnection | Disconnect () |
void | Reconnect () |
void | Reconnect (IDbConnection connection) |
IDbConnection | Close () |
void | CancelQuery () |
bool | IsDirty () |
bool | IsReadOnly (object entityOrProxy) |
void | SetReadOnly (object entityOrProxy, bool readOnly) |
object | GetIdentifier (object obj) |
bool | Contains (object obj) |
void | Evict (object obj) |
object | Load (System.Type theType, object id, LockMode lockMode) |
object | Load (string entityName, object id, LockMode lockMode) |
object | Load (System.Type theType, object id) |
T | Load< T > (object id, LockMode lockMode) |
T | Load< T > (object id) |
object | Load (string entityName, object id) |
void | Load (object obj, object id) |
void | Replicate (object obj, ReplicationMode replicationMode) |
void | Replicate (string entityName, object obj, ReplicationMode replicationMode) |
object | Save (object obj) |
void | Save (object obj, object id) |
object | Save (string entityName, object obj) |
void | SaveOrUpdate (object obj) |
void | SaveOrUpdate (string entityName, object obj) |
void | Update (object obj) |
void | Update (object obj, object id) |
void | Update (string entityName, object obj) |
object | Merge (object obj) |
object | Merge (string entityName, object obj) |
T | Merge< T > (T entity) |
T | Merge< T > (string entityName, T entity) |
void | Persist (object obj) |
void | Persist (string entityName, object obj) |
object | SaveOrUpdateCopy (object obj) |
object | SaveOrUpdateCopy (object obj, object id) |
void | Delete (object obj) |
void | Delete (string entityName, object obj) |
int | Delete (string query) |
int | Delete (string query, object value, IType type) |
int | Delete (string query, object[] values, IType[] types) |
void | Lock (object obj, LockMode lockMode) |
void | Lock (string entityName, object obj, LockMode lockMode) |
void | Refresh (object obj) |
void | Refresh (object obj, LockMode lockMode) |
LockMode | GetCurrentLockMode (object obj) |
ITransaction | BeginTransaction () |
ITransaction | BeginTransaction (IsolationLevel isolationLevel) |
ICriteria | CreateCriteria< T > () |
ICriteria | CreateCriteria< T > (string alias) |
ICriteria | CreateCriteria (System.Type persistentClass) |
ICriteria | CreateCriteria (System.Type persistentClass, string alias) |
ICriteria | CreateCriteria (string entityName) |
ICriteria | CreateCriteria (string entityName, string alias) |
IQueryOver< T, T > | QueryOver< T > () |
IQueryOver< T, T > | QueryOver< T > (Expression< Func< T >> alias) |
IQueryOver< T, T > | QueryOver< T > (string entityName) |
IQueryOver< T, T > | QueryOver< T > (string entityName, Expression< Func< T >> alias) |
IQuery | CreateQuery (string queryString) |
IQuery | CreateFilter (object collection, string queryString) |
IQuery | GetNamedQuery (string queryName) |
ISQLQuery | CreateSQLQuery (string queryString) |
void | Clear () |
object | Get (System.Type clazz, object id) |
object | Get (System.Type clazz, object id, LockMode lockMode) |
object | Get (string entityName, object id) |
T | Get< T > (object id) |
T | Get< T > (object id, LockMode lockMode) |
string | GetEntityName (object obj) |
IFilter | EnableFilter (string filterName) |
IFilter | GetEnabledFilter (string filterName) |
void | DisableFilter (string filterName) |
IMultiQuery | CreateMultiQuery () |
ISession | SetBatchSize (int batchSize) |
ISessionImplementor | GetSessionImplementation () |
IMultiCriteria | CreateMultiCriteria () |
ISession | GetSession (EntityMode entityMode) |
Properties |
EntityMode | ActiveEntityMode [get] |
FlushMode | FlushMode [get, set] |
CacheMode | CacheMode [get, set] |
ISessionFactory | SessionFactory [get] |
IDbConnection | Connection [get] |
bool | IsOpen [get] |
bool | IsConnected [get] |
bool | DefaultReadOnly [get, set] |
ITransaction | Transaction [get] |
ISessionStatistics | Statistics [get] |