EntityRepositoryGetObjectByPrimaryKey Method |
Gets or loads the object with the specified primary key.
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic EntityObject GetObjectByPrimaryKey(
ObjectTransaction transaction,
Guid primaryKey
)
Public Function GetObjectByPrimaryKey (
transaction As ObjectTransaction,
primaryKey As Guid
) As EntityObject
public:
EntityObject^ GetObjectByPrimaryKey(
ObjectTransaction^ transaction,
Guid^ primaryKey
)
member GetObjectByPrimaryKey :
transaction : ObjectTransaction *
primaryKey : Guid -> EntityObject
Parameters
- transaction
- Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction. - primaryKey
- Type: SystemGuid
The primary key.
Return Value
Type:
EntityObjectThe object.
See Also