The ICollectionPersister type exposes the following members.
Methods
Name | Description | |
---|---|---|
DeleteRows |
Delete the persistent state of any elements that were removed from the collection
| |
ElementExists | ||
GetElementByIndex |
Try to find an element by a given index.
| |
GetElementColumnAliases |
Generates the collection's element column aliases, based on the given
suffix.
| |
GetIdentifierColumnAlias |
Generates the collection's identifier column aliases, based on the given
suffix.
| |
GetIndexColumnAliases |
Generates the collection's index column aliases, based on the given
suffix.
| |
GetKeyColumnAliases |
Generates the collection's key column aliases, based on the given
suffix.
| |
GetManyToManyFilterFragment | ||
GetSize | ||
IndexExists | ||
Initialize |
Initialize the given collection with the given key
| |
InsertRows |
Insert the persistent state of any new collection elements
| |
IsAffectedByEnabledFilters | ||
PostInstantiate | ||
ReadElement |
Read the element from a row of the IDataReader | |
ReadIdentifier |
Read the identifier from a row of the IDataReader | |
ReadIndex |
Read the index from a row of the IDataReader | |
ReadKey |
Read the key from a row of the IDataReader | |
Recreate |
(Re)create the collection's persistent state
| |
Remove |
Completely remove the persistent state of the collection
| |
UpdateRows |
Update the persistent state of any elements that were modified
|
Properties
Name | Description | |
---|---|---|
Cache |
Get the cache
| |
CacheEntryStructure | Get the cache structure | |
CascadeDeleteEnabled |
Is cascade delete handled by the database-level
foreign key constraint definition?
| |
CollectionMetadata | ||
CollectionSpaces | Get the "space" that holds the persistent state | |
CollectionType |
Get the associated IType | |
ElementClass |
Return the element class of an array, or null otherwise
| |
ElementNodeName | ||
ElementType |
Get the "element" type
| |
Factory | ||
HasCache |
Is this collection role cacheable
| |
HasIndex |
Is this an "indexed" collection? (list or map)
| |
HasManyToManyOrdering | ||
HasOrdering |
Is this an ordered collection? (An ordered collection is
ordered by the initialization operation, not by sorting
that happens in memory, as in the case of a sorted collection.)
| |
HasOrphanDelete |
Does this collection implement "orphan delete"?
| |
IdentifierGenerator |
Get the surrogate key generation strategy (optional operation)
| |
IdentifierType |
Get the type of the surrogate key
| |
IndexNodeName | ||
IndexType |
Get the "index" type for a list or map (optional operation)
| |
IsArray |
Is this an array?
| |
IsExtraLazy | ||
IsInverse |
Is this collection "inverse", so state changes are not propogated to the database.
| |
IsLazy |
Is this collection lazily initialized?
| |
IsManyToMany |
Is this a many-to-many association? Note that this is mainly
a convenience feature as the single persister does not
contain all the information needed to handle a many-to-many
itself, as internally it is looked at as two many-to-ones.
| |
IsMutable | Can the elements of this collection change? | |
IsOneToMany | Is this a one-to-many association? | |
IsPrimitiveArray |
Is this an array or primitive values?
| |
IsVersioned |
Does this collection cause version increment of the owning entity?
| |
KeyType |
Get the "key" type (the type of the foreign key)
| |
NodeName | ||
NotFoundObject |
A place-holder to inform that the data-reader was empty.
| |
OwnerEntityPersister | Get the persister of the entity that "owns" this collection | |
Role |
Get the name of this collection role (the fully qualified class name, extended by a "property path")
|