ObjectTransactionGetLocalObject Method |
Searches for locally buffered object with the specified id.
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic EntityObject GetLocalObject(
EntityRepository repository,
Guid id
)
Public Function GetLocalObject (
repository As EntityRepository,
id As Guid
) As EntityObject
public:
EntityObject^ GetLocalObject(
EntityRepository^ repository,
Guid^ id
)
member GetLocalObject :
repository : EntityRepository *
id : Guid -> EntityObject
Parameters
- repository
- Type: Aloe.SystemFrameworks.DomainEntityRepository
The repository. - id
- Type: SystemGuid
The identifier.
Return Value
Type:
EntityObject
Remarks
The method searches first through registered objects.
If an object is not found, the local buffer is searched for unregistered object.
If such is also not found, the method returns null.
See Also