The IQueryableCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ConsumesCollectionAlias |
Very, very, very ugly...
(Inherited from IJoinable.) | |
| ConsumesEntityAlias |
Very, very, very ugly...
(Inherited from IJoinable.) | |
| DeleteRows |
Delete the persistent state of any elements that were removed from the collection
(Inherited from ICollectionPersister.) | |
| ElementExists | (Inherited from ICollectionPersister.) | |
| FilterFragment |
Get the where clause filter, given a query alias and considering enabled session filters
(Inherited from IJoinable.) | |
| FromJoinFragment |
Get the from clause part of any joins (optional operation)
(Inherited from IJoinable.) | |
| GetElementByIndex |
Try to find an element by a given index.
(Inherited from ICollectionPersister.) | |
| GetElementColumnAliases |
Generates the collection's element column aliases, based on the given
suffix.
(Inherited from ICollectionPersister.) | |
| GetElementColumnNames |
Get the names of the collection element columns (or the primary
key columns in the case of a one-to-many association),
aliased by the given table alias
| |
| GetIdentifierColumnAlias |
Generates the collection's identifier column aliases, based on the given
suffix.
(Inherited from ICollectionPersister.) | |
| GetIndexColumnAliases |
Generates the collection's index column aliases, based on the given
suffix.
(Inherited from ICollectionPersister.) | |
| GetIndexColumnNames |
Get the names of the collection index columns if
this is an indexed collection (optional operation),
aliased by the given table alias
| |
| GetKeyColumnAliases |
Generates the collection's key column aliases, based on the given
suffix.
(Inherited from ICollectionPersister.) | |
| GetManyToManyFilterFragment | (Inherited from ICollectionPersister.) | |
| GetManyToManyOrderByString |
Get the order-by to be applied at the target table of a many to many
| |
| GetSize | (Inherited from ICollectionPersister.) | |
| GetSQLOrderByString |
Get the order by SQL
| |
| GetSQLWhereString |
Get the extra where clause filter SQL
| |
| IndexExists | (Inherited from ICollectionPersister.) | |
| Initialize |
Initialize the given collection with the given key
(Inherited from ICollectionPersister.) | |
| InsertRows |
Insert the persistent state of any new collection elements
(Inherited from ICollectionPersister.) | |
| IsAffectedByEnabledFilters | (Inherited from ICollectionPersister.) | |
| OneToManyFilterFragment | (Inherited from IJoinable.) | |
| PostInstantiate | (Inherited from ICollectionPersister.) | |
| ReadElement |
Read the element from a row of the IDataReader (Inherited from ICollectionPersister.) | |
| ReadIdentifier |
Read the identifier from a row of the IDataReader (Inherited from ICollectionPersister.) | |
| ReadIndex |
Read the index from a row of the IDataReader (Inherited from ICollectionPersister.) | |
| ReadKey |
Read the key from a row of the IDataReader (Inherited from ICollectionPersister.) | |
| Recreate |
(Re)create the collection's persistent state
(Inherited from ICollectionPersister.) | |
| Remove |
Completely remove the persistent state of the collection
(Inherited from ICollectionPersister.) | |
| SelectFragment(String, String) |
Generate a list of collection index and element columns
| |
| SelectFragment(IJoinable, String, String, String, String, Boolean) |
All columns to select, when loading.
(Inherited from IJoinable.) | |
| ToColumns(String) | Given a property path, return the corresponding column name(s). (Inherited from IPropertyMapping.) | |
| ToColumns(String, String) |
Given a query alias and a property path, return the qualified column name
(Inherited from IPropertyMapping.) | |
| ToType |
Given a component path expression, get the type of the property
(Inherited from IPropertyMapping.) | |
| TryToType |
Given a component path expression, get the type of the property.
(Inherited from IPropertyMapping.) | |
| UpdateRows |
Update the persistent state of any elements that were modified
(Inherited from ICollectionPersister.) | |
| WhereJoinFragment |
Get the where clause part of any joins (optional operation)
(Inherited from IJoinable.) |
Properties
| Name | Description | |
|---|---|---|
| Cache |
Get the cache
(Inherited from ICollectionPersister.) | |
| CacheEntryStructure | Get the cache structure (Inherited from ICollectionPersister.) | |
| CascadeDeleteEnabled |
Is cascade delete handled by the database-level
foreign key constraint definition?
(Inherited from ICollectionPersister.) | |
| CollectionMetadata | (Inherited from ICollectionPersister.) | |
| CollectionSpaces | Get the "space" that holds the persistent state (Inherited from ICollectionPersister.) | |
| CollectionType |
Get the associated IType (Inherited from ICollectionPersister.) | |
| ElementClass |
Return the element class of an array, or null otherwise
(Inherited from ICollectionPersister.) | |
| ElementColumnNames |
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association)
| |
| ElementNodeName | (Inherited from ICollectionPersister.) | |
| ElementPersister |
Get the persister of the element class, if this is a
collection of entities (optional operation). Note that
for a one-to-many association, the returned persister
must be OuterJoinLoadable.
| |
| ElementType |
Get the "element" type
(Inherited from ICollectionPersister.) | |
| Factory | (Inherited from ICollectionPersister.) | |
| FetchMode |
Should we load this collection role by outer joining?
| |
| HasCache |
Is this collection role cacheable
(Inherited from ICollectionPersister.) | |
| HasIndex |
Is this an "indexed" collection? (list or map)
(Inherited from ICollectionPersister.) | |
| HasManyToManyOrdering | (Inherited from ICollectionPersister.) | |
| 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.)
(Inherited from ICollectionPersister.) | |
| HasOrphanDelete |
Does this collection implement "orphan delete"?
(Inherited from ICollectionPersister.) | |
| HasWhere |
Does this collection role have a where clause filter?
| |
| IdentifierGenerator |
Get the surrogate key generation strategy (optional operation)
(Inherited from ICollectionPersister.) | |
| IdentifierType |
Get the type of the surrogate key
(Inherited from ICollectionPersister.) | |
| IndexColumnNames |
Get the names of the collection index columns if this is an indexed collection (optional operation)
| |
| IndexFormulas |
Get the index formulas if this is an indexed collection
(optional operation)
| |
| IndexNodeName | (Inherited from ICollectionPersister.) | |
| IndexType |
Get the "index" type for a list or map (optional operation)
(Inherited from ICollectionPersister.) | |
| IsArray |
Is this an array?
(Inherited from ICollectionPersister.) | |
| IsCollection |
Is this instance actually a ICollectionPersister?
(Inherited from IJoinable.) | |
| IsExtraLazy | (Inherited from ICollectionPersister.) | |
| IsInverse |
Is this collection "inverse", so state changes are not propogated to the database.
(Inherited from ICollectionPersister.) | |
| IsLazy |
Is this collection lazily initialized?
(Inherited from ICollectionPersister.) | |
| 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.
(Inherited from ICollectionPersister.) | |
| IsMutable | Can the elements of this collection change? (Inherited from ICollectionPersister.) | |
| IsOneToMany | Is this a one-to-many association? (Inherited from ICollectionPersister.) | |
| IsPrimitiveArray |
Is this an array or primitive values?
(Inherited from ICollectionPersister.) | |
| IsVersioned |
Does this collection cause version increment of the owning entity?
(Inherited from ICollectionPersister.) | |
| KeyColumnNames |
The columns to join on.
(Inherited from IJoinable.) | |
| KeyType |
Get the "key" type (the type of the foreign key)
(Inherited from ICollectionPersister.) | |
| Name |
An identifying name; a class name or collection role name.
(Inherited from IJoinable.) | |
| NodeName | (Inherited from ICollectionPersister.) | |
| NotFoundObject |
A place-holder to inform that the data-reader was empty.
(Inherited from ICollectionPersister.) | |
| OwnerEntityPersister | Get the persister of the entity that "owns" this collection (Inherited from ICollectionPersister.) | |
| Role |
Get the name of this collection role (the fully qualified class name, extended by a "property path")
(Inherited from ICollectionPersister.) | |
| TableName |
The table to join to.
(Inherited from IJoinable.) | |
| Type |
Get the type of the thing containing the properties
(Inherited from IPropertyMapping.) |