The DefaultLoadEventListener type exposes the following members.

Constructors

  NameDescription
Public methodDefaultLoadEventListener
Initializes a new instance of the DefaultLoadEventListener class

Methods

  NameDescription
Protected methodDoLoad
Coordinates the efforts to load a given entity. First, an attempt is made to load the entity from the session-level cache. If not found there, an attempt is made to locate it in second-level cache. Lastly, an attempt is made to load it directly from the datasource.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetEntityPersister
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLoad
Perfoms the load of an entity.
Protected methodLoadFromDatasource
Performs the process of loading an entity from the configured underlying datasource.
Protected methodLoadFromSecondLevelCache
Attempts to load the entity from the second-level cache.
Protected methodLoadFromSessionCache
Attempts to locate the entity in the session-level cache.
Protected methodLockAndLoad
If the class to be loaded has been configured with a cache, then lock given id in that cache and then perform the load.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnLoad
Protected methodProxyOrLoad
Based on configured options, will either return a pre-existing proxy, generate a new proxy, or perform an actual load.
Protected methodReassociate
Associates a given entity (either transient or associated with another session) to the given session.
(Inherited from AbstractReassociateEventListener.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUpgradeLock
Performs a pessimistic lock upgrade on a given entity, if needed.
(Inherited from AbstractLockUpgradeEventListener.)

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 MethodToTypeParameters (Defined by ReflectHelper.)

Fields

See Also