Click or drag to resize

DataAccessRepositoryGetObjectByRow Method

Finds or creates an object, referencing the specified buffer row.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public DomainObject GetObjectByRow(
	ObjectTransaction transaction,
	IBufferRow row
)

Parameters

transaction
Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction, containing the object.
row
Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferRow
The row for which to search for.

Return Value

Type: DomainObject
The object, referencing the row.
Remarks
The row may or may not be containing data for the most inherited table. The default implementation simply calls GetObjectByPrimaryRow(ObjectTransaction, IBufferRow). Descendant implementations might need to find the appropriate most-inherited repository first.
See Also