The StatelessSessionImpl type exposes the following members.

Methods

  NameDescription
Protected methodAfterOperation (Inherited from AbstractSessionImpl.)
Public methodAfterTransactionBegin (Overrides AbstractSessionImpl..::..AfterTransactionBegin(ITransaction).)
Public methodAfterTransactionCompletion (Overrides AbstractSessionImpl..::..AfterTransactionCompletion(Boolean, ITransaction).)
Public methodBeforeTransactionCompletion (Overrides AbstractSessionImpl..::..BeforeTransactionCompletion(ITransaction).)
Public methodBeginTransaction()()()()
Begin a NHibernate transaction
Public methodBeginTransaction(IsolationLevel)
Begin a NHibernate transaction with the specified isolation level
Public methodBestGuessEntityName (Overrides AbstractSessionImpl..::..BestGuessEntityName(Object).)
Protected methodCheckAndUpdateSessionStatus (Inherited from AbstractSessionImpl.)
Public methodClose
Close the stateless session and release the ADO.NET connection.
Public methodCloseSessionFromDistributedTransaction (Overrides AbstractSessionImpl..::..CloseSessionFromDistributedTransaction()()()().)
Protected methodConvert (Inherited from AbstractSessionImpl.)
Public methodCreateCriteria(String)
Create a new ICriteria instance, for the given entity name.
Public methodCreateCriteria(Type)
Public methodCreateCriteria(String, String)
Create a new ICriteria instance, for the given entity name, with the given alias.
Public methodCreateCriteria(Type, String)
Public methodCreateCriteria<(Of <<'(T>)>>)()()()()
Create a new ICriteria instance, for the given entity class, or a superclass of an entity class.
Public methodCreateCriteria<(Of <<'(T>)>>)(String)
Create a new ICriteria instance, for the given entity class, or a superclass of an entity class, with the given alias.
Public methodCreateQuery(String) (Inherited from AbstractSessionImpl.)
Public methodCreateQuery(IQueryExpression) (Inherited from AbstractSessionImpl.)
Public methodCreateSQLQuery (Inherited from AbstractSessionImpl.)
Public methodDelete(Object)
Delete a entity.
Public methodDelete(String, Object)
Delete a entity.
Public methodDispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the StatelessSessionImpl and optionally releases the managed resources
Protected methodEnlistInAmbientTransactionIfNeeded (Inherited from AbstractSessionImpl.)
Public methodEnumerable(String, QueryParameters) (Overrides AbstractSessionImpl..::..Enumerable(String, QueryParameters).)
Public methodEnumerable<(Of <<'(T>)>>)(String, QueryParameters) (Overrides AbstractSessionImpl..::..Enumerable(String, QueryParameters).)
Public methodEnumerableFilter(Object, String, QueryParameters) (Overrides AbstractSessionImpl..::..EnumerableFilter(Object, String, QueryParameters).)
Public methodEnumerableFilter<(Of <<'(T>)>>)(Object, String, QueryParameters) (Overrides AbstractSessionImpl..::..EnumerableFilter(Object, String, QueryParameters).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodErrorIfClosed (Inherited from AbstractSessionImpl.)
Public methodExecuteNativeUpdate (Overrides AbstractSessionImpl..::..ExecuteNativeUpdate(NativeSQLQuerySpecification, QueryParameters).)
Public methodExecuteUpdate (Overrides AbstractSessionImpl..::..ExecuteUpdate(String, QueryParameters).)
Protected methodFinalize
Finalizer that ensures the object is correctly disposed of.
(Overrides Object..::..Finalize()()()().)
Public methodFlush (Overrides AbstractSessionImpl..::..Flush()()()().)
Public methodGet(String, Object)
Retrieve a entity.
Public methodGet(String, Object, LockMode)
Retrieve a entity, obtaining the specified lock mode.
Public methodGet<(Of <<'(T>)>>)(Object)
Retrieve a entity.
Public methodGet<(Of <<'(T>)>>)(Object, LockMode)
Retrieve a entity, obtaining the specified lock mode.
Public methodGetContextEntityIdentifier (Overrides AbstractSessionImpl..::..GetContextEntityIdentifier(Object).)
Public methodGetEntityPersister (Overrides AbstractSessionImpl..::..GetEntityPersister(String, Object).)
Public methodGetEntityUsingInterceptor (Overrides AbstractSessionImpl..::..GetEntityUsingInterceptor(EntityKey).)
Public methodGetFilterParameterType (Overrides AbstractSessionImpl..::..GetFilterParameterType(String).)
Public methodGetFilterParameterValue (Overrides AbstractSessionImpl..::..GetFilterParameterValue(String).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetHQLQueryPlan(String, Boolean) (Inherited from AbstractSessionImpl.)
Protected methodGetHQLQueryPlan(IQueryExpression, Boolean) (Inherited from AbstractSessionImpl.)
Public methodGetNamedQuery (Inherited from AbstractSessionImpl.)
Public methodGetNamedSQLQuery (Inherited from AbstractSessionImpl.)
Protected methodGetNativeSQLQueryPlan (Inherited from AbstractSessionImpl.)
Public methodGetQueries (Overrides AbstractSessionImpl..::..GetQueries(String, Boolean).)
Public methodGetSessionImplementation
Gets the stateless session implementation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGuessEntityName (Overrides AbstractSessionImpl..::..GuessEntityName(Object).)
Public methodImmediateLoad (Overrides AbstractSessionImpl..::..ImmediateLoad(String, Object).)
Public methodInitialize (Inherited from AbstractSessionImpl.)
Public methodInitializeCollection (Overrides AbstractSessionImpl..::..InitializeCollection(IPersistentCollection, Boolean).)
Public methodInsert(Object)
Insert a entity.
Public methodInsert(String, Object)
Insert a row.
Public methodInstantiate (Overrides AbstractSessionImpl..::..Instantiate(String, Object).)
Public methodInternalLoad (Overrides AbstractSessionImpl..::..InternalLoad(String, Object, Boolean, Boolean).)
Public methodList(CriteriaImpl) (Overrides AbstractSessionImpl..::..List<(Of <<'(T>)>>)(CriteriaImpl).)
Public methodList(String, QueryParameters) (Overrides AbstractSessionImpl..::..List(String, QueryParameters).)
Public methodList(CriteriaImpl, IList) (Overrides AbstractSessionImpl..::..List(CriteriaImpl, IList).)
Public methodList(IQueryExpression, QueryParameters) (Inherited from AbstractSessionImpl.)
Public methodList(NativeSQLQuerySpecification, QueryParameters) (Overrides AbstractSessionImpl..::..List(NativeSQLQuerySpecification, QueryParameters).)
Public methodList(String, QueryParameters, IList) (Overrides AbstractSessionImpl..::..List(String, QueryParameters, IList).)
Public methodList(IQueryExpression, QueryParameters, IList) (Overrides AbstractSessionImpl..::..List(IQueryExpression, QueryParameters, IList).)
Public methodList(NativeSQLQuerySpecification, QueryParameters, IList) (Overrides AbstractSessionImpl..::..List(NativeSQLQuerySpecification, QueryParameters, IList).)
Public methodList<(Of <<'(T>)>>)(CriteriaImpl) (Overrides AbstractSessionImpl..::..List<(Of <<'(T>)>>)(CriteriaImpl).)
Public methodList<(Of <<'(T>)>>)(String, QueryParameters) (Overrides AbstractSessionImpl..::..List(String, QueryParameters).)
Public methodList<(Of <<'(T>)>>)(NativeSQLQuerySpecification, QueryParameters) (Overrides AbstractSessionImpl..::..List(NativeSQLQuerySpecification, QueryParameters).)
Public methodListCustomQuery(ICustomQuery, QueryParameters, IList) (Overrides AbstractSessionImpl..::..ListCustomQuery(ICustomQuery, QueryParameters, IList).)
Public methodListCustomQuery<(Of <<'(T>)>>)(ICustomQuery, QueryParameters) (Overrides AbstractSessionImpl..::..ListCustomQuery<(Of <<'(T>)>>)(ICustomQuery, QueryParameters).)
Public methodListFilter(Object, String, QueryParameters) (Overrides AbstractSessionImpl..::..ListFilter(Object, String, QueryParameters).)
Public methodListFilter<(Of <<'(T>)>>)(Object, String, QueryParameters) (Overrides AbstractSessionImpl..::..ListFilter(Object, String, QueryParameters).)
Public methodManagedClose
Public methodManagedFlush
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQueryOver<(Of <<'(T>)>>)()()()()
Public methodQueryOver<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <<'(T>)>>)>)>>))
Public methodRefresh(Object)
Refresh the entity instance state from the database.
Public methodRefresh(Object, LockMode)
Refresh the entity instance state from the database.
Public methodRefresh(String, Object)
Refresh the entity instance state from the database.
Public methodRefresh(String, Object, LockMode)
Refresh the entity instance state from the database.
Public methodSetBatchSize
Protected methodSetClosed (Inherited from AbstractSessionImpl.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate(Object)
Update a entity.
Public methodUpdate(String, Object)
Update a entity.

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodQuery<(Of <<'(T>)>>) (Defined by LinqExtensionMethods.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Properties

  NameDescription
Public propertyBatcher (Overrides AbstractSessionImpl..::..Batcher.)
Public propertyCacheMode (Overrides AbstractSessionImpl..::..CacheMode.)
Public propertyConnection (Overrides AbstractSessionImpl..::..Connection.)
Public propertyConnectionManager (Overrides AbstractSessionImpl..::..ConnectionManager.)
Public propertyDontFlushFromFind (Overrides AbstractSessionImpl..::..DontFlushFromFind.)
Public propertyEnabledFilters (Overrides AbstractSessionImpl..::..EnabledFilters.)
Public propertyEntityMode (Overrides AbstractSessionImpl..::..EntityMode.)
Public propertyFactory (Inherited from AbstractSessionImpl.)
Public propertyFetchProfile (Overrides AbstractSessionImpl..::..FetchProfile.)
Public propertyFlushMode (Overrides AbstractSessionImpl..::..FlushMode.)
Public propertyFutureCriteriaBatch (Overrides AbstractSessionImpl..::..FutureCriteriaBatch.)
Public propertyFutureQueryBatch (Overrides AbstractSessionImpl..::..FutureQueryBatch.)
Public propertyInterceptor (Overrides AbstractSessionImpl..::..Interceptor.)
Protected propertyIsAlreadyDisposed (Inherited from AbstractSessionImpl.)
Public propertyIsClosed (Inherited from AbstractSessionImpl.)
Public propertyIsConnected (Overrides AbstractSessionImpl..::..IsConnected.)
Public propertyIsEventSource (Overrides AbstractSessionImpl..::..IsEventSource.)
Public propertyIsOpen (Overrides AbstractSessionImpl..::..IsOpen.)
Public propertyListeners (Overrides AbstractSessionImpl..::..Listeners.)
Public propertyPersistenceContext (Overrides AbstractSessionImpl..::..PersistenceContext.)
Public propertySessionId (Inherited from AbstractSessionImpl.)
Public propertyTimestamp (Overrides AbstractSessionImpl..::..Timestamp.)
Public propertyTransaction
Get the current Hibernate transaction.
Public propertyTransactionContext (Inherited from AbstractSessionImpl.)
Public propertyTransactionInProgress (Overrides AbstractSessionImpl..::..TransactionInProgress.)

See Also