RepositorySourceEnumerateEntityObjects Method |
Enumerates and returns (as dictionary) all entity objects in all tables of the buffer.
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic IDictionary<Guid, EntityObject> EnumerateEntityObjects(
ObjectTransaction transaction,
IBuffer buffer,
bool includeDeletedObjects = false
)
Public Function EnumerateEntityObjects (
transaction As ObjectTransaction,
buffer As IBuffer,
Optional includeDeletedObjects As Boolean = false
) As IDictionary(Of Guid, EntityObject)
public:
IDictionary<Guid^, EntityObject^>^ EnumerateEntityObjects(
ObjectTransaction^ transaction,
IBuffer^ buffer,
bool includeDeletedObjects = false
)
member EnumerateEntityObjects :
transaction : ObjectTransaction *
buffer : IBuffer *
?includeDeletedObjects : bool
(* Defaults:
let _includeDeletedObjects = defaultArg includeDeletedObjects false
*)
-> IDictionary<Guid, EntityObject>
Parameters
- transaction
- Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction. - buffer
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBuffer
The buffer. - includeDeletedObjects (Optional)
- Type: SystemBoolean
if set to true, also returns the deleted objects.
Return Value
Type:
IDictionaryGuid,
EntityObject
Dictionary of the objects.
Remarks
The return value is dictionary (and not enumeration).
This is because the internal implementation already uses dictionary,
and it might be useful for post-processing (without rebuilding).
See Also