The PersistentArrayHolder type exposes the following members.

Methods

  NameDescription
AfterInitialize (Inherited from AbstractPersistentCollection.)
AfterRowInsert
Called after inserting a row, to fetch the natively generated id
(Inherited from AbstractPersistentCollection.)
BeforeInitialize (Overrides AbstractPersistentCollection..::.BeforeInitialize(ICollectionPersister).)
BeginRead
Before ReadFrom(IDataReader, ICollectionPersister, ICollectionAliases, Object) is called the PersistentArrayHolder needs to setup a temporary list to hold the objects.
(Overrides AbstractPersistentCollection..::.BeginRead()()().)
ClearDirty (Inherited from AbstractPersistentCollection.)
CopyTo
DelayedAddAll
After reading all existing elements from the database, add the queued elements to the underlying collection.
(Inherited from AbstractPersistentCollection.)
Dirty (Inherited from AbstractPersistentCollection.)
Disassemble (Overrides AbstractPersistentCollection..::.Disassemble(ICollectionPersister).)
Elements
EndRead
Takes the contents stored in the temporary list created during BeginRead()()() that was populated during ReadFrom(IDataReader, ICollectionPersister, ICollectionAliases, Object) and write it to the underlying array.
(Overrides AbstractPersistentCollection..::.EndRead(ICollectionPersister).)
Entries
(Overrides AbstractPersistentCollection..::.Entries()()().)
EntryExists (Overrides AbstractPersistentCollection..::.EntryExists(Object, Int32).)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EqualsSnapshot
(Overrides AbstractPersistentCollection..::.EqualsSnapshot(IType).)
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.)
ForceInitialization
To be called internally by the session, forcing immediate initalization.
(Inherited from AbstractPersistentCollection.)
GetDeletes (Overrides AbstractPersistentCollection..::.GetDeletes(IType, Boolean).)
GetElement (Overrides AbstractPersistentCollection..::.GetElement(Object).)
GetEnumerator
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 (Inherited from AbstractPersistentCollection.)
GetIndex (Overrides AbstractPersistentCollection..::.GetIndex(Object, Int32).)
GetOrphans (Overrides AbstractPersistentCollection..::.GetOrphans(Object, Type).)
GetSnapshotOverloaded.
GetSnapshotElement (Overrides AbstractPersistentCollection..::.GetSnapshotElement(Object, Int32).)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetValue
Returns the user-visible portion of the NHibernate PersistentArrayHolder.
(Overrides AbstractPersistentCollection..::.GetValue()()().)
Initialize
Initialize the collection, if possible, wrapping any exceptions in a runtime exception
(Inherited from AbstractPersistentCollection.)
InitializeFromCache
Initializes this array holder from the cached values.
(Overrides AbstractPersistentCollection..::.InitializeFromCache(ICollectionPersister, Object, Object).)
IsSnapshotEmpty (Inherited from AbstractPersistentCollection.)
IsWrapper
(Overrides AbstractPersistentCollection..::.IsWrapper(Object).)
MakeDirtyIfTrue (Inherited from AbstractPersistentCollection.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
NeedsInserting (Overrides AbstractPersistentCollection..::.NeedsInserting(Object, Int32, IType).)
NeedsRecreate
Gets a Boolean indicating if the rows for this collection need to be recreated in the table.
(Inherited from AbstractPersistentCollection.)
NeedsUpdating (Overrides AbstractPersistentCollection..::.NeedsUpdating(Object, Int32, IType).)
PostAction
Clears out any Queued Additions.
(Inherited from AbstractPersistentCollection.)
PreInsert
Called before inserting rows, to ensure that any surrogate keys are fully generated
(Inherited from AbstractPersistentCollection.)
QueueAdd
Queue an addition if the peristent collection supports it
(Inherited from AbstractPersistentCollection.)
QueueAddAll
Queue additions
(Inherited from AbstractPersistentCollection.)
Read
Called by any read-only method of the collection interface
(Inherited from AbstractPersistentCollection.)
ReadFrom (Overrides AbstractPersistentCollection..::.ReadFrom(IDataReader, ICollectionPersister, ICollectionAliases, Object).)
SetCurrentSession
Associate the collection with the given session.
(Inherited from AbstractPersistentCollection.)
SetInitialized
Mark the collection as initialized.
(Inherited from AbstractPersistentCollection.)
Snapshot
(Overrides AbstractPersistentCollection..::.Snapshot(ICollectionPersister).)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
UnsetSession
Disassociate this collection from the given session.
(Inherited from AbstractPersistentCollection.)
Write
Called by any writer method of the collection interface
(Inherited from AbstractPersistentCollection.)

See Also