The ISessionImplementor type exposes the following members.

Methods

  NameDescription
Public methodAfterTransactionBegin
Notify the session that an NHibernate transaction has begun.
Public methodAfterTransactionCompletion
Notify the session that the transaction completed, so we no longer own the old locks. (Also we should release cache softlocks). May be called multiple times during the transaction completion process.
Public methodBeforeTransactionCompletion
Notify the session that the transaction is about to complete
Public methodBestGuessEntityName
The best guess entity name for an entity not in an association
Public methodCloseSessionFromDistributedTransaction
Public methodCreateQuery
Create a new instance of Query for the given query expression A hibernate query expression

Return Value

The query
Public methodEnumerable(String, QueryParameters)
Execute an Iterate() query
Public methodEnumerable<(Of <<'(T>)>>)(String, QueryParameters)
Strongly-typed version of Enumerable(String, QueryParameters)
Public methodEnumerableFilter(Object, String, QueryParameters)
Collection from a filter
Public methodEnumerableFilter<(Of <<'(T>)>>)(Object, String, QueryParameters)
Public methodExecuteNativeUpdate
Execute a native SQL update or delete query
Public methodExecuteUpdate
Execute a HQL update or delete query
Public methodFlush
Public methodGetContextEntityIdentifier
Return the identifier of the persistent object, or null if transient
Public methodGetEntityPersister
Get the IEntityPersister for any instance
Public methodGetEntityUsingInterceptor
Get the entity instance associated with the given Key, calling the Interceptor if necessary
Public methodGetFilterParameterType
Retrieve the type for a given filter parameter.
Public methodGetFilterParameterValue
Retrieve the currently set value for a filter parameter.
Public methodGetNamedQuery
Public methodGetNamedSQLQuery
Public methodGetQueries
Public methodGuessEntityName
The guessed entity name for an entity not in an association
Public methodImmediateLoad
Load an instance immediately. Do not return a proxy.
Public methodInitialize
Initialize the session after its construction was complete
Public methodInitializeCollection
Initialize the collection (if not already initialized)
Public methodInstantiate
Instantiate the entity class, initializing with the given identifier
Public methodInternalLoad
Load an instance without checking if it was deleted. If it does not exist and isn't nullable, throw an exception. This method may create a new proxy or return an existing proxy.
Public methodList(CriteriaImpl)
Public methodList(String, QueryParameters)
Execute a List() query
Public methodList(CriteriaImpl, IList)
Public methodList(IQueryExpression, QueryParameters)
Execute a List() expression query
Public methodList(NativeSQLQuerySpecification, QueryParameters)
Execute an SQL Query
Public methodList(String, QueryParameters, IList)
Public methodList(NativeSQLQuerySpecification, QueryParameters, IList)
Public methodList<(Of <<'(T>)>>)(CriteriaImpl)
Strongly-typed version of List(CriteriaImpl)
Public methodList<(Of <<'(T>)>>)(String, QueryParameters)
Strongly-typed version of List(String, QueryParameters)
Public methodList<(Of <<'(T>)>>)(NativeSQLQuerySpecification, QueryParameters)
Public methodListCustomQuery(ICustomQuery, QueryParameters, IList)
Execute an SQL Query
Public methodListCustomQuery<(Of <<'(T>)>>)(ICustomQuery, QueryParameters)
Public methodListFilter(Object, String, QueryParameters)
Execute a filter
Public methodListFilter<(Of <<'(T>)>>)(Object, String, QueryParameters)
Execute a filter (strongly-typed version).

See Also