The PersistentBag type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PersistentBag()()()() | Initializes a new instance of the PersistentBag class | |
| PersistentBag(ISessionImplementor) | Initializes a new instance of the PersistentBag class | |
| PersistentBag(ISessionImplementor, ICollection) | Initializes a new instance of the PersistentBag class |
Methods
Extension Methods
| Name | Description | |
|---|---|---|
| Any | (Defined by EnumerableExtensions.) | |
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| First | (Defined by EnumerableExtensions.) | |
| FirstOrNull | (Defined by EnumerableExtensions.) | |
| GetCollectionElementType | (Defined by ReflectHelper.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |
Fields
| Name | Description | |
|---|---|---|
| bag |
Properties
| Name | Description | |
|---|---|---|
| CachedSize | (Inherited from AbstractPersistentCollection.) | |
| ClearQueueEnabled | Is this collection in a state that would allow us to
"queue" clear? This is a special case, because of orphan
delete.
(Inherited from AbstractPersistentCollection.) | |
| Count | ||
| Empty | (Overrides AbstractPersistentCollection..::..Empty.) | |
| HasQueuedOperations | Does this instance have any "queued" additions? (Inherited from AbstractPersistentCollection.) | |
| InverseCollectionNoOrphanDelete |
Is this the "inverse" end of a bidirectional association with
no orphan delete enabled?
(Inherited from AbstractPersistentCollection.) | |
| InverseOneToManyOrNoOrphanDelete |
Is this the "inverse" end of a bidirectional one-to-many, or
of a collection with no orphan delete?
(Inherited from AbstractPersistentCollection.) | |
| IsConnectedToSession |
Is the collection currently connected to an open session?
(Inherited from AbstractPersistentCollection.) | |
| IsDirectlyAccessible |
Gets a Boolean indicating if the underlying collection is directly
accessible through code.
(Inherited from AbstractPersistentCollection.) | |
| IsDirty | (Inherited from AbstractPersistentCollection.) | |
| IsFixedSize | ||
| IsInverseCollection | Is this the "inverse" end of a bidirectional association? (Inherited from AbstractPersistentCollection.) | |
| IsOperationQueueEnabled |
Is this collection in a state that would allow us to "queue" additions?
(Inherited from AbstractPersistentCollection.) | |
| IsReadOnly | ||
| IsSynchronized | ||
| IsUnreferenced | (Inherited from AbstractPersistentCollection.) | |
| Item | ||
| Key | (Inherited from AbstractPersistentCollection.) | |
| Owner | (Inherited from AbstractPersistentCollection.) | |
| PutQueueEnabled | Is this collection in a state that would allow us to
"queue" puts? This is a special case, because of orphan
delete.
(Inherited from AbstractPersistentCollection.) | |
| QueuedAdditionIterator | (Inherited from AbstractPersistentCollection.) | |
| Role | (Inherited from AbstractPersistentCollection.) | |
| RowUpdatePossible | (Overrides AbstractPersistentCollection..::..RowUpdatePossible.) | |
| Session | (Inherited from AbstractPersistentCollection.) | |
| StoredSnapshot | (Inherited from AbstractPersistentCollection.) | |
| SyncRoot | ||
| WasInitialized | Is this instance initialized? (Inherited from AbstractPersistentCollection.) |