Click or drag to resize

EntityRepositoryEnumerateObjects Method

Enumerates and returns the objects found in the specified buffer.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public override IEnumerable<DomainObject> EnumerateObjects(
	ObjectTransaction transaction,
	IBuffer buffer,
	bool includeDeletedObjects = false
)

Parameters

transaction
Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction, which will contain the emitted objects.
buffer
Type: Aloe.SystemFrameworks.Domain.DataAccessIBuffer
The buffer containing the objects data. When null, the transactions primary buffer is used for the enumeration.
includeDeletedObjects (Optional)
Type: SystemBoolean
if set to true enumerates also deleted objects.

Return Value

Type: IEnumerableDomainObject
The enumerated objects.
Remarks

During the enumeration, if an object from the buffer already exists in the transaction, it is returned. Otherwise, a new object is created.

See Also