The PersistentSet type exposes the following members.

Constructors

  NameDescription
PersistentSetOverloaded.

Methods

  NameDescription
Add
AddAll
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
Set up the temporary List that will be used in the EndRead() to fully create the set.
(Overrides AbstractPersistentCollection..::.BeginRead()()().)
Clear
ClearDirty (Inherited from AbstractPersistentCollection.)
Clone
Contains
ContainsAll
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).)
EndRead
Takes the contents stored in the temporary list created during BeginRead() that was populated during ReadFrom() and write it to the underlying PersistentSet.
(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).)
ExclusiveOr
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
Return the user-visible collection (or array) instance
(Inherited from AbstractPersistentCollection.)
Initialize
Initialize the collection, if possible, wrapping any exceptions in a runtime exception
(Inherited from AbstractPersistentCollection.)
InitializeFromCache
Initializes this PersistentSet from the cached values.
(Overrides AbstractPersistentCollection..::.InitializeFromCache(ICollectionPersister, Object, Object).)
Intersect
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.)
Minus
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).)
Remove
RemoveAll
RetainAll
SetCurrentSession
Associate the collection with the given session.
(Inherited from AbstractPersistentCollection.)
SetInitialized
Mark the collection as initialized.
(Inherited from AbstractPersistentCollection.)
Snapshot
Returns a Hashtable where the Key & the Value are both a Copy of the same object. Snapshot(ICollectionPersister)
(Overrides AbstractPersistentCollection..::.Snapshot(ICollectionPersister).)
ToString (Overrides Object..::.ToString()()().)
Union
UnsetSession
Disassociate this collection from the given session.
(Inherited from AbstractPersistentCollection.)
Write
Called by any writer method of the collection interface
(Inherited from AbstractPersistentCollection.)

Fields

  NameDescription
internalSet
The ISet that NHibernate is wrapping.
tempList
A temporary list that holds the objects while the PersistentSet is being populated from the database.

Properties

See Also