ObjectTransactionGetLocalTObject 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 TObject GetLocal<TObject>(
Guid id
)
where TObject : EntityObject
Public Function GetLocal(Of TObject As EntityObject) (
id As Guid
) As TObject
public:
generic<typename TObject>
where TObject : EntityObject
TObject GetLocal(
Guid^ id
)
member GetLocal :
id : Guid -> 'TObject when 'TObject : EntityObject
Parameters
- id
- Type: SystemGuid
The identifier.
Type Parameters
- TObject
Return Value
Type:
TObject
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