The PersistentGenericBag<(Of <(<'T>)>)> type exposes the following members.

Constructors

Methods

  NameDescription
Public methodAdd (Inherited from PersistentBag.)
Public methodAfterInitialize (Inherited from PersistentBag.)
Public methodAfterRowInsert
Called after inserting a row, to fetch the natively generated id
(Inherited from AbstractPersistentCollection.)
Public methodBeforeInitialize (Overrides PersistentBag..::..BeforeInitialize(ICollectionPersister, Int32).)
Public methodBeginRead
Called just before reading any rows from the IDataReader
(Inherited from AbstractPersistentCollection.)
Public methodClear (Inherited from PersistentBag.)
Public methodClearDirty (Inherited from AbstractPersistentCollection.)
Public methodContains (Inherited from PersistentBag.)
Public methodCopyTo (Inherited from PersistentBag.)
Public methodDirty (Inherited from AbstractPersistentCollection.)
Public methodDisassemble (Inherited from PersistentBag.)
Public methodEndRead
Called after reading all rows from the IDataReader
(Inherited from AbstractPersistentCollection.)
Public methodEntries (Inherited from PersistentBag.)
Public methodEntryExists (Inherited from PersistentBag.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEqualsSnapshot (Inherited from PersistentBag.)
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 (Inherited from PersistentBag.)
Public methodGetElement (Inherited from PersistentBag.)
Public methodGetEnumerator (Inherited from PersistentBag.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIdentifier (Inherited from AbstractPersistentCollection.)
Public methodGetIndex (Inherited from PersistentBag.)
Public methodGetOrphans(Object, String) (Inherited from PersistentBag.)
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) (Inherited from PersistentBag.)
Public methodGetSnapshotElement (Inherited from PersistentBag.)
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 (Inherited from PersistentBag.)
Protected methodInitialize
Initialize the collection, if possible, wrapping any exceptions in a runtime exception
(Inherited from AbstractPersistentCollection.)
Public methodInitializeFromCache
Initializes this PersistentBag from the cached values.
(Inherited from PersistentBag.)
Public methodInsert (Inherited from PersistentBag.)
Public methodIsSnapshotEmpty (Inherited from PersistentBag.)
Public methodIsWrapper (Inherited from PersistentBag.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNeedsInserting (Inherited from PersistentBag.)
Public methodNeedsRecreate
Gets a Boolean indicating if this PersistentBag needs to be recreated in the database.
(Inherited from PersistentBag.)
Public methodNeedsUpdating (Inherited from PersistentBag.)
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 (Inherited from PersistentBag.)
Protected methodReadIndexExistence (Inherited from AbstractPersistentCollection.)
Protected methodReadSize
Called by the Count property
(Inherited from AbstractPersistentCollection.)
Public methodRemove (Inherited from PersistentBag.)
Public methodRemoveAt (Inherited from PersistentBag.)
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 (Inherited from PersistentBag.)
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 MethodForEach<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
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 fieldbag (Inherited from PersistentBag.)

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 (Inherited from PersistentBag.)
Public propertyEmpty (Inherited from PersistentBag.)
Public propertyHasQueuedOperations
Does this instance have any "queued" additions?
(Inherited from AbstractPersistentCollection.)
Protected propertyInternalBag
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 (Inherited from PersistentBag.)
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 (Inherited from PersistentBag.)
Public propertyIsSynchronized (Inherited from PersistentBag.)
Public propertyIsUnreferenced (Inherited from AbstractPersistentCollection.)
Public propertyItem (Inherited from PersistentBag.)
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 PersistentBag.)
Protected propertySession
(Inherited from AbstractPersistentCollection.)
Public propertyStoredSnapshot (Inherited from AbstractPersistentCollection.)
Public propertySyncRoot (Inherited from PersistentBag.)
Public propertyWasInitialized
Is this instance initialized?
(Inherited from AbstractPersistentCollection.)

See Also