The PersistentList type exposes the following members.

Constructors

  NameDescription
Public methodPersistentList()()()()
Initializes a new instance of the PersistentList class
Public methodPersistentList(ISessionImplementor)
Initializes an instance of the PersistentList in the session.
Public methodPersistentList(ISessionImplementor, IList)
Initializes an instance of the PersistentList that wraps an existing IList in the session.

Methods

  NameDescription
Public methodAdd
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
Called just before reading any rows from the IDataReader
(Inherited from AbstractPersistentCollection.)
Public methodClear
Public methodClearDirty (Inherited from AbstractPersistentCollection.)
Public methodContains
Public methodCopyTo
Public methodDirty (Inherited from AbstractPersistentCollection.)
Public methodDisassemble (Overrides AbstractPersistentCollection..::..Disassemble(ICollectionPersister).)
Public methodEndRead
Called after reading all rows from the IDataReader
(Inherited from AbstractPersistentCollection.)
Public methodEntries (Overrides AbstractPersistentCollection..::..Entries(ICollectionPersister).)
Public methodEntryExists (Overrides AbstractPersistentCollection..::..EntryExists(Object, Int32).)
Public methodEquals (Overrides Object..::..Equals(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 methodGetEnumerator
Public methodGetHashCode (Overrides Object..::..GetHashCode()()()().)
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
Return the user-visible collection (or array) instance
(Inherited from AbstractPersistentCollection.)
Public methodIdentityRemove (Inherited from AbstractPersistentCollection.)
Public methodIndexOf
Protected methodInitialize
Initialize the collection, if possible, wrapping any exceptions in a runtime exception
(Inherited from AbstractPersistentCollection.)
Public methodInitializeFromCache
Initializes this PersistentList from the cached values.
(Overrides AbstractPersistentCollection..::..InitializeFromCache(ICollectionPersister, Object, Object).)
Public methodInsert
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 methodRemove
Public methodRemoveAt
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 (Overrides Object..::..ToString()()()().)
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.)

Fields

  NameDescription
Protected fieldlist

Properties

  NameDescription
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 propertyCount
Protected propertyDefaultForType
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
Gets a Boolean indicating if the underlying collection is directly accessible through code.
(Inherited from AbstractPersistentCollection.)
Public propertyIsDirty (Inherited from AbstractPersistentCollection.)
Public propertyIsFixedSize
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 propertyIsReadOnly
Public propertyIsSynchronized
Public propertyIsUnreferenced (Inherited from AbstractPersistentCollection.)
Public propertyItem
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 propertySyncRoot
Public propertyWasInitialized
Is this instance initialized?
(Inherited from AbstractPersistentCollection.)

See Also