The ICollectionPersister type exposes the following members.

Methods

  NameDescription
DeleteRows
Delete the persistent state of any elements that were removed from the collection
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
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

  NameDescription
Cache
Get the cache
CollectionMetadata
CollectionSpace
Get the "space" that holds the persistent state
CollectionType
Get the associated IType
ElementClass
Return the element class of an array, or null otherwise
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
IndexType
Get the "index" type for a list or map (optional operation)
IsArray
Is this an array?
IsInverse
Is this collection "inverse", so state changes are not propogated to the database.
IsLazy
Is this collection lazyily initialized?
IsOneToMany
Is this a one-to-many association?
IsPrimitiveArray
Is this an array or primitive values?
IsVersioned
KeyType
Get the "key" type (the type of the foreign key)
OwnerClass
Get the entity class that "owns" this collection
Role
Get the name of this collection role (the fully qualified class name, extended by a "property path")

See Also