Click or drag to resize

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
Syntax
public EntityObject GetObjectByPrimaryKey(
	ObjectTransaction transaction,
	Guid primaryKey
)

Parameters

transaction
Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction.
primaryKey
Type: SystemGuid
The primary key.

Return Value

Type: EntityObject
The object.
See Also