The AbstractLazyInitializer type exposes the following members.

Constructors

  NameDescription
Protected methodAbstractLazyInitializer
Create a LazyInitializer to handle all of the Methods/Properties that are called on the Proxy.

Methods

  NameDescription
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.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetImplementation()()()()
Return the Underlying Persistent Object, initializing if necessary.
Public methodGetImplementation(ISessionImplementor)
Return the Underlying Persistent Object in a given ISession, or null.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Perform an ImmediateLoad of the actual object for the Proxy.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetImplementation
Public methodSetSession
Associate the proxy with the given session. Care should be given to make certain that the proxy is added to the session's persistence context as well to maintain the symmetry of the association. That must be done seperately as this method simply sets an internal reference. We do also check that if there is already an associated session that the proxy reference was removed from that previous session's persistence context.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsetSession
Unset this initializer's reference to session. It is assumed that the caller is also taking care or cleaning up the owning proxy's reference in the persistence context. Generally speaking this is intended to be called only during Evict(Object) and Clear()()()() processing; most other use-cases should call SetSession(ISessionImplementor) instead.

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

  NameDescription
Protected fieldStatic memberInvokeImplementation
If this is returned by Invoke then the subclass needs to Invoke the method call against the object that is being proxied.

Properties

See Also