The MapLazyInitializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MapLazyInitializer | Initializes a new instance of the MapLazyInitializer class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetImplementation()()()() |
Return the Underlying Persistent Object, initializing if necessary.
(Inherited from AbstractLazyInitializer.) | |
GetImplementation(ISessionImplementor) |
Return the Underlying Persistent Object in a given ISession, or null.
(Inherited from AbstractLazyInitializer.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Perform an ImmediateLoad of the actual object for the Proxy.
(Inherited from AbstractLazyInitializer.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetImplementation | (Inherited from AbstractLazyInitializer.) | |
SetSession |
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.
(Inherited from AbstractLazyInitializer.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnsetSession |
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.
(Inherited from AbstractLazyInitializer.) |
Extension Methods
Name | Description | |
---|---|---|
As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
IsProxy | (Defined by NHibernateProxyHelper.) | |
ToTypeParameters | (Defined by ReflectHelper.) |
Properties
Name | Description | |
---|---|---|
EntityName | (Inherited from AbstractLazyInitializer.) | |
Identifier | (Inherited from AbstractLazyInitializer.) | |
IsConnectedToSession | (Inherited from AbstractLazyInitializer.) | |
IsReadOnlySettingAvailable |
Is the read-only setting available?
(Inherited from AbstractLazyInitializer.) | |
IsUninitialized | (Inherited from AbstractLazyInitializer.) | |
Map | ||
PersistentClass | (Overrides AbstractLazyInitializer..::..PersistentClass.) | |
ReadOnly |
Read-only status
(Inherited from AbstractLazyInitializer.) | |
Session | (Inherited from AbstractLazyInitializer.) | |
Target | (Inherited from AbstractLazyInitializer.) | |
Unwrap | (Inherited from AbstractLazyInitializer.) |