The PersistentGenericBag<(Of <(<'T>)>)> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PersistentGenericBag<(Of <(<'T>)>)>()()()() | Initializes a new instance of the PersistentGenericBag<(Of <(<'T>)>)> class | |
PersistentGenericBag<(Of <(<'T>)>)>(ISessionImplementor) | Initializes a new instance of the PersistentGenericBag<(Of <(<'T>)>)> class | |
PersistentGenericBag<(Of <(<'T>)>)>(ISessionImplementor, ICollection<(Of <<'(T>)>>)) | Initializes a new instance of the PersistentGenericBag<(Of <(<'T>)>)> class |
Methods
Name | Description | |
---|---|---|
Add | (Inherited from PersistentBag.) | |
AfterInitialize | (Inherited from PersistentBag.) | |
AfterRowInsert |
Called after inserting a row, to fetch the natively generated id
(Inherited from AbstractPersistentCollection.) | |
BeforeInitialize | (Overrides PersistentBag..::..BeforeInitialize(ICollectionPersister, Int32).) | |
BeginRead |
Called just before reading any rows from the IDataReader (Inherited from AbstractPersistentCollection.) | |
Clear | (Inherited from PersistentBag.) | |
ClearDirty | (Inherited from AbstractPersistentCollection.) | |
Contains | (Inherited from PersistentBag.) | |
CopyTo | (Inherited from PersistentBag.) | |
Dirty | (Inherited from AbstractPersistentCollection.) | |
Disassemble | (Inherited from PersistentBag.) | |
EndRead |
Called after reading all rows from the IDataReader (Inherited from AbstractPersistentCollection.) | |
Entries | (Inherited from PersistentBag.) | |
EntryExists | (Inherited from PersistentBag.) | |
Equals | (Inherited from Object.) | |
EqualsSnapshot | (Inherited from PersistentBag.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
ForceInitialization |
To be called internally by the session, forcing
immediate initalization.
(Inherited from AbstractPersistentCollection.) | |
GetDeletes | (Inherited from PersistentBag.) | |
GetElement | (Inherited from PersistentBag.) | |
GetEnumerator | (Inherited from PersistentBag.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIdentifier | (Inherited from AbstractPersistentCollection.) | |
GetIndex | (Inherited from PersistentBag.) | |
GetOrphans(Object, String) | (Inherited from PersistentBag.) | |
GetOrphans(ICollection, ICollection, String, ISessionImplementor) |
Given a collection of entity instances that used to
belong to the collection, and a collection of instances
that currently belong, return a collection of orphans
(Inherited from AbstractPersistentCollection.) | |
GetQueuedOrphans | (Inherited from AbstractPersistentCollection.) | |
GetSnapshot()()()() |
Gets the Snapshot from the current session the collection is in.
(Inherited from AbstractPersistentCollection.) | |
GetSnapshot(ICollectionPersister) | (Inherited from PersistentBag.) | |
GetSnapshotElement | (Inherited from PersistentBag.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Return the user-visible collection (or array) instance
(Inherited from AbstractPersistentCollection.) | |
IdentityRemove | (Inherited from AbstractPersistentCollection.) | |
IndexOf | (Inherited from PersistentBag.) | |
Initialize |
Initialize the collection, if possible, wrapping any exceptions
in a runtime exception
(Inherited from AbstractPersistentCollection.) | |
InitializeFromCache |
Initializes this PersistentBag from the cached values.
(Inherited from PersistentBag.) | |
Insert | (Inherited from PersistentBag.) | |
IsSnapshotEmpty | (Inherited from PersistentBag.) | |
IsWrapper | (Inherited from PersistentBag.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NeedsInserting | (Inherited from PersistentBag.) | |
NeedsRecreate |
Gets a Boolean indicating if this PersistentBag needs to be recreated
in the database.
(Inherited from PersistentBag.) | |
NeedsUpdating | (Inherited from PersistentBag.) | |
PerformQueuedOperations |
After reading all existing elements from the database,
add the queued elements to the underlying collection.
(Inherited from AbstractPersistentCollection.) | |
PostAction |
Clears out any Queued operation.
(Inherited from AbstractPersistentCollection.) | |
PreInsert |
Called before inserting rows, to ensure that any surrogate keys are fully generated
(Inherited from AbstractPersistentCollection.) | |
QueueOperation |
Queue an addition, delete etc. if the persistent collection supports it
(Inherited from AbstractPersistentCollection.) | |
Read |
Called by any read-only method of the collection interface
(Inherited from AbstractPersistentCollection.) | |
ReadElementByIndex | (Inherited from AbstractPersistentCollection.) | |
ReadElementExistence | (Inherited from AbstractPersistentCollection.) | |
ReadFrom | (Inherited from PersistentBag.) | |
ReadIndexExistence | (Inherited from AbstractPersistentCollection.) | |
ReadSize | Called by the Count property (Inherited from AbstractPersistentCollection.) | |
Remove | (Inherited from PersistentBag.) | |
RemoveAt | (Inherited from PersistentBag.) | |
SetCurrentSession |
Associate the collection with the given session.
(Inherited from AbstractPersistentCollection.) | |
SetInitialized |
Mark the collection as initialized.
(Inherited from AbstractPersistentCollection.) | |
SetSnapshot | (Inherited from AbstractPersistentCollection.) | |
ThrowLazyInitializationException | (Inherited from AbstractPersistentCollection.) | |
ThrowLazyInitializationExceptionIfNotConnected | (Inherited from AbstractPersistentCollection.) | |
ToString | (Inherited from PersistentBag.) | |
UnsetSession |
Disassociate this collection from the given session.
(Inherited from AbstractPersistentCollection.) | |
Write |
Called by any writer method of the collection interface
(Inherited from AbstractPersistentCollection.) |
Extension Methods
Name | Description | |
---|---|---|
Any | (Defined by EnumerableExtensions.) | |
As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
First | (Defined by EnumerableExtensions.) | |
FirstOrNull | (Defined by EnumerableExtensions.) | |
ForEach<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
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 | (Inherited from PersistentBag.) |
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 | (Inherited from PersistentBag.) | |
Empty | (Inherited from PersistentBag.) | |
HasQueuedOperations | Does this instance have any "queued" additions? (Inherited from AbstractPersistentCollection.) | |
InternalBag | ||
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 | (Inherited from PersistentBag.) | |
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 | (Inherited from PersistentBag.) | |
IsSynchronized | (Inherited from PersistentBag.) | |
IsUnreferenced | (Inherited from AbstractPersistentCollection.) | |
Item | (Inherited from PersistentBag.) | |
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 | (Inherited from PersistentBag.) | |
Session | (Inherited from AbstractPersistentCollection.) | |
StoredSnapshot | (Inherited from AbstractPersistentCollection.) | |
SyncRoot | (Inherited from PersistentBag.) | |
WasInitialized | Is this instance initialized? (Inherited from AbstractPersistentCollection.) |