The AbstractPersistentCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AfterInitialize | |
![]() | AfterRowInsert |
Called after inserting a row, to fetch the natively generated id
|
![]() | BeforeInitialize |
Called before any elements are read into the collection,
allowing appropriate initializations to occur.
|
![]() | BeginRead |
Called just before reading any rows from the IDataReader
|
![]() | ClearDirty | |
![]() | DelayedAddAll |
After reading all existing elements from the database,
add the queued elements to the underlying collection.
|
![]() | Dirty | |
![]() | Disassemble |
Disassemble the collection, ready for the cache
|
![]() | EndRead |
Called after reading all rows from the IDataReader
|
![]() | Entries |
Iterate all collection entries, during update of the database
|
![]() | EntryExists |
Does an element exist at this entry in the collection?
|
![]() | Equals | (Inherited from Object.) |
![]() | EqualsSnapshot |
Does the current state exactly match the snapshot?
|
![]() | 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.
|
![]() | GetDeletes |
Get all the elements that need deleting
|
![]() | GetElement | |
![]() | 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 | |
![]() | GetIndex |
Get the index of the given collection entry
|
![]() ![]() | GetOrphans | Overloaded. |
![]() | GetSnapshot | Overloaded. |
![]() | GetSnapshotElement | |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue |
Return the user-visible collection (or array) instance
|
![]() ![]() | IdentityRemove | |
![]() ![]() | IdentityRemoveAll | |
![]() | Initialize |
Initialize the collection, if possible, wrapping any exceptions
in a runtime exception
|
![]() | InitializeFromCache |
Read the state of the collection from a disassembled cached value.
|
![]() | IsSnapshotEmpty | |
![]() | IsWrapper |
Is this the wrapper for the given underlying collection instance?
|
![]() | MakeDirtyIfTrue | |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | NeedsInserting |
Do we need to insert this element?
|
![]() | NeedsRecreate |
Gets a Boolean indicating if the rows for this collection
need to be recreated in the table.
|
![]() | NeedsUpdating |
Do we need to update this element?
|
![]() | PostAction |
Clears out any Queued Additions.
|
![]() | PreInsert |
Called before inserting rows, to ensure that any surrogate keys are fully generated
|
![]() | QueueAdd |
Queue an addition if the peristent collection supports it
|
![]() | QueueAddAll |
Queue additions
|
![]() | Read |
Called by any read-only method of the collection interface
|
![]() | ReadFrom |
Reads the row from the IDataReader.
|
![]() | SetCurrentSession |
Associate the collection with the given session.
|
![]() | SetInitialized |
Mark the collection as initialized.
|
![]() | Snapshot |
Return a new snapshot of the current state
|
![]() | ToString | (Inherited from Object.) |
![]() | UnsetSession |
Disassociate this collection from the given session.
|
![]() | Write |
Called by any writer method of the collection interface
|