The SessionImpl type exposes the following members.

Methods

  NameDescription
AddArrayHolder
associate a holder with an array - called after loading an array
AddInitializedCollection
add a collection we just pulled out of the cache (does not need initializing)
AddNonExist
AddUninitializedEntity
Create a "temporary" entry for a newly instantiated entity. The entity is uninitialized, but we need the mapping from id to instance in order to guarantee uniqueness.
AfterLoad
AfterTransactionBegin
AfterTransactionCompletion
Ensure that the locks are downgraded to None and that all of the softlocks in the NHibernate.Cache have been released.
BeforeLoad
BeforeTransactionCompletion
BeginTransactionOverloaded.
CancelQuery
Clear
Close
Contains
ContainsEntity
Copy
CreateCriteriaOverloaded.
CreateFilter
CreateMultiQuery
CreateQuery
CreateSQLQueryOverloaded.
DeleteOverloaded.
DisableFilter
Disconnect
Dispose
Just in case the user forgot to Commit() or Close()
DoCopy
EnableFilter
EndLoadingCollections
EnumerableOverloaded.
EnumerableFilterOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Evict
remove any hard references to the entity that are held by the infrastructure (references held by application or other persistant instances are okay)
FilterOverloaded.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindOverloaded.
Flush
GetOverloaded.
GetArrayHolder
GetClassBatch
GetCollection
Instantiate a collection wrapper (called when loading an object)
GetCollectionBatch
GetCollectionEntry
GetCollectionOwner
GetCurrentLockMode
GetEnabledFilter
GetEntity
GetEntityIdentifier
Get the id value for an object that is actually associated with the session. This is a bit stricter than GetEntityIdentifierIfNotUnsaved().
GetEntityIdentifierIfNotUnsaved
Used by OneToOneType and ManyToOneType to determine what id value should be used for an object that may or may not be associated with the session. This does a "best guess" using any/all info available to use (not just the EntityEntry).
GetEntityPersister
GetEntry
GetFilterParameterType
GetFilterParameterValue
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetIdentifier
Not for internal use
GetLoadedCollectionKey
GetLoadingCollection
GetLockMode
GetNamedQuery
Obtain an instance of IQuery for a named query string defined in the mapping file.
GetNamedSQLQuery
GetQueries
GetSessionImplementation
GetSnapshot
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetVersion
ImmediateLoad
Load the data for the object with the specified id into a newly created object. Do NOT return a proxy.
InitializeCollection
called by a collection that wants to initialize itself
InitializeEntity
After processing a JDBC result set, we "resolve" all the associations between the entities which were instantiated and had their state "hydrated" into an array
InitializeNonLazyCollections
InstantiateOverloaded.
InternalLoad
Return the object with the specified id or throw exception if no row with that id exists. Defer the load, return a new proxy or return an existing proxy if possible. Do not check if the object was deleted.
IsDirty
IsInverseCollection
IsSaved
ListOverloaded.
ListCustomQueryOverloaded.
LoadOverloaded.
LoadByUniqueKey
Lock
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
NarrowProxy
If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy and overwrite the registration of the old one. This breaks == and occurs only for "class" proxies rather than "interface" proxies.
PostDelete
PostHydrate
Add the "hydrated state" (an array) of an uninitialized entity to the session. We don't try to resolve any associations yet, because there might be other entities waiting to be read from the ADO datareader we are currently processing
ProxyForOverloaded.
ReconnectOverloaded.
RefreshOverloaded.
Replicate
SaveOverloaded.
SaveOrUpdate
SaveOrUpdateCopyOverloaded.
ScheduleBatchLoad
SetLockMode
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateOverloaded.
UpdateReachableCollection
Initialize the role of the collection. The CollectionEntry.reached stuff is just to detect any silly users who set up circular or shared references between/to collections.

Explicit Interface Implementations

  NameDescription
ISerializable..::.GetObjectData
Verify the ISession can be serialized and write the fields to the Serializer.
IDeserializationCallback..::.OnDeserialization
Once the entire object graph has been deserialized then we can hook the collections, proxies, and entities back up to the ISession.

See Also