The IUserCollectionType type exposes the following members.

Methods

  NameDescription
Public methodContains
Optional operation. Does the collection contain the entity instance?
Public methodGetElements
Return an IEnumerable over the elements of this collection - the passed collection instance may or may not be a wrapper
Public methodIndexOf
Optional operation. Return the index of the entity in the collection.
Public methodInstantiate(Int32)
Instantiate an empty instance of the "underlying" collection (not a wrapper), but with the given anticipated size (i.e. accounting for initial size and perhaps load factor).
Public methodInstantiate(ISessionImplementor, ICollectionPersister)
Instantiate an uninitialized instance of the collection wrapper
Public methodReplaceElements
Replace the elements of a collection with the elements of another collection
Public methodWrap
Wrap an instance of a collection

See Also