The PersistentArrayHolder type exposes the following members.

Constructors

Methods

  NameDescription
Public methodAfterInitialize (Inherited from AbstractPersistentCollection.)
Public methodAfterRowInsert
Called after inserting a row, to fetch the natively generated id
(Inherited from AbstractPersistentCollection.)
Public methodBeforeInitialize (Overrides AbstractPersistentCollection..::..BeforeInitialize(ICollectionPersister, Int32).)
Public methodBeginRead
Before ReadFrom(IDataReader, ICollectionPersister, ICollectionAliases, Object) is called the PersistentArrayHolder needs to setup a temporary list to hold the objects.
(Overrides AbstractPersistentCollection..::..BeginRead()()()().)
Public methodClearDirty (Inherited from AbstractPersistentCollection.)
Public methodDirty (Inherited from AbstractPersistentCollection.)
Public methodDisassemble (Overrides AbstractPersistentCollection..::..Disassemble(ICollectionPersister).)
Public methodElements
Public methodEndRead
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).)
Public methodEntries (Overrides AbstractPersistentCollection..::..Entries(ICollectionPersister).)
Public methodEntryExists (Overrides AbstractPersistentCollection..::..EntryExists(Object, Int32).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEqualsSnapshot (Overrides AbstractPersistentCollection..::..EqualsSnapshot(ICollectionPersister).)
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 methodForceInitialization
To be called internally by the session, forcing immediate initalization.
(Inherited from AbstractPersistentCollection.)
Public methodGetDeletes (Overrides AbstractPersistentCollection..::..GetDeletes(ICollectionPersister, Boolean).)
Public methodGetElement (Overrides AbstractPersistentCollection..::..GetElement(Object).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIdentifier (Inherited from AbstractPersistentCollection.)
Public methodGetIndex (Overrides AbstractPersistentCollection..::..GetIndex(Object, Int32, ICollectionPersister).)
Public methodGetOrphans(Object, String) (Overrides AbstractPersistentCollection..::..GetOrphans(Object, String).)
Protected methodGetOrphans(ICollection, ICollection, String, ISessionImplementor)
Given a collection of entity instances that used to belong to the collection, and a collection of instances that currently belong, return a collection of orphans
(Inherited from AbstractPersistentCollection.)
Public methodGetQueuedOrphans (Inherited from AbstractPersistentCollection.)
Protected methodGetSnapshot()()()()
Gets the Snapshot from the current session the collection is in.
(Inherited from AbstractPersistentCollection.)
Public methodGetSnapshot(ICollectionPersister) (Overrides AbstractPersistentCollection..::..GetSnapshot(ICollectionPersister).)
Public methodGetSnapshotElement (Overrides AbstractPersistentCollection..::..GetSnapshotElement(Object, Int32).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the user-visible portion of the NHibernate PersistentArrayHolder.
(Overrides AbstractPersistentCollection..::..GetValue()()()().)
Public methodIdentityRemove (Inherited from AbstractPersistentCollection.)
Protected methodInitialize
Initialize the collection, if possible, wrapping any exceptions in a runtime exception
(Inherited from AbstractPersistentCollection.)
Public methodInitializeFromCache
Initializes this array holder from the cached values.
(Overrides AbstractPersistentCollection..::..InitializeFromCache(ICollectionPersister, Object, Object).)
Public methodIsSnapshotEmpty (Overrides AbstractPersistentCollection..::..IsSnapshotEmpty(Object).)
Public methodIsWrapper (Overrides AbstractPersistentCollection..::..IsWrapper(Object).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNeedsInserting (Overrides AbstractPersistentCollection..::..NeedsInserting(Object, Int32, IType).)
Public methodNeedsRecreate
Gets a Boolean indicating if the rows for this collection need to be recreated in the table.
(Inherited from AbstractPersistentCollection.)
Public methodNeedsUpdating (Overrides AbstractPersistentCollection..::..NeedsUpdating(Object, Int32, IType).)
Protected methodPerformQueuedOperations
After reading all existing elements from the database, add the queued elements to the underlying collection.
(Inherited from AbstractPersistentCollection.)
Public methodPostAction
Clears out any Queued operation.
(Inherited from AbstractPersistentCollection.)
Public methodPreInsert
Called before inserting rows, to ensure that any surrogate keys are fully generated
(Inherited from AbstractPersistentCollection.)
Protected methodQueueOperation
Queue an addition, delete etc. if the persistent collection supports it
(Inherited from AbstractPersistentCollection.)
Public methodRead
Called by any read-only method of the collection interface
(Inherited from AbstractPersistentCollection.)
Protected methodReadElementByIndex (Inherited from AbstractPersistentCollection.)
Protected methodReadElementExistence (Inherited from AbstractPersistentCollection.)
Public methodReadFrom (Overrides AbstractPersistentCollection..::..ReadFrom(IDataReader, ICollectionPersister, ICollectionAliases, Object).)
Protected methodReadIndexExistence (Inherited from AbstractPersistentCollection.)
Protected methodReadSize
Called by the Count property
(Inherited from AbstractPersistentCollection.)
Public methodSetCurrentSession
Associate the collection with the given session.
(Inherited from AbstractPersistentCollection.)
Protected methodSetInitialized
Mark the collection as initialized.
(Inherited from AbstractPersistentCollection.)
Public methodSetSnapshot (Inherited from AbstractPersistentCollection.)
Protected methodThrowLazyInitializationException (Inherited from AbstractPersistentCollection.)
Protected methodThrowLazyInitializationExceptionIfNotConnected (Inherited from AbstractPersistentCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsetSession
Disassociate this collection from the given session.
(Inherited from AbstractPersistentCollection.)
Protected methodWrite
Called by any writer method of the collection interface
(Inherited from AbstractPersistentCollection.)

Extension Methods

  NameDescription
Public Extension MethodAny (Defined by EnumerableExtensions.)
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodFirst (Defined by EnumerableExtensions.)
Public Extension MethodFirstOrNull (Defined by EnumerableExtensions.)
Public Extension MethodGetCollectionElementType (Defined by ReflectHelper.)
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.)

Properties

  NameDescription
Public propertyArray
Gets or sets the array.
Protected propertyCachedSize (Inherited from AbstractPersistentCollection.)
Protected propertyClearQueueEnabled
Is this collection in a state that would allow us to "queue" clear? This is a special case, because of orphan delete.
(Inherited from AbstractPersistentCollection.)
Public propertyEmpty (Overrides AbstractPersistentCollection..::..Empty.)
Public propertyHasQueuedOperations
Does this instance have any "queued" additions?
(Inherited from AbstractPersistentCollection.)
Protected propertyInverseCollectionNoOrphanDelete
Is this the "inverse" end of a bidirectional association with no orphan delete enabled?
(Inherited from AbstractPersistentCollection.)
Protected propertyInverseOneToManyOrNoOrphanDelete
Is this the "inverse" end of a bidirectional one-to-many, or of a collection with no orphan delete?
(Inherited from AbstractPersistentCollection.)
Protected propertyIsConnectedToSession
Is the collection currently connected to an open session?
(Inherited from AbstractPersistentCollection.)
Public propertyIsDirectlyAccessible (Overrides AbstractPersistentCollection..::..IsDirectlyAccessible.)
Public propertyIsDirty (Inherited from AbstractPersistentCollection.)
Protected propertyIsInverseCollection
Is this the "inverse" end of a bidirectional association?
(Inherited from AbstractPersistentCollection.)
Protected propertyIsOperationQueueEnabled
Is this collection in a state that would allow us to "queue" additions?
(Inherited from AbstractPersistentCollection.)
Public propertyIsUnreferenced (Inherited from AbstractPersistentCollection.)
Public propertyKey (Inherited from AbstractPersistentCollection.)
Public propertyOwner (Inherited from AbstractPersistentCollection.)
Protected propertyPutQueueEnabled
Is this collection in a state that would allow us to "queue" puts? This is a special case, because of orphan delete.
(Inherited from AbstractPersistentCollection.)
Public propertyQueuedAdditionIterator
(Inherited from AbstractPersistentCollection.)
Public propertyRole (Inherited from AbstractPersistentCollection.)
Public propertyRowUpdatePossible (Inherited from AbstractPersistentCollection.)
Protected propertySession
(Inherited from AbstractPersistentCollection.)
Public propertyStoredSnapshot (Inherited from AbstractPersistentCollection.)
Public propertyWasInitialized
Is this instance initialized?
(Inherited from AbstractPersistentCollection.)

See Also