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
Syntaxpublic DomainObject GetObjectByRow(
ObjectTransaction transaction,
IBufferRow row
)
Public Function GetObjectByRow (
transaction As ObjectTransaction,
row As IBufferRow
) As DomainObject
public:
DomainObject^ GetObjectByRow(
ObjectTransaction^ transaction,
IBufferRow^ row
)
member GetObjectByRow :
transaction : ObjectTransaction *
row : IBufferRow -> DomainObject
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