| HdsiServiceClientGetTModel Method |
Gets a specified object by key and an optional version key.
Namespace:
SanteDB.Messaging.HDSI.Client
Assembly:
SanteDB.Messaging.HDSI.Client (in SanteDB.Messaging.HDSI.Client.dll) Version: 2.2.1
Syntax public IdentifiedData Get<TModel>(
Guid key,
Guid? versionKey
)
where TModel : IdentifiedData
Public Function Get(Of TModel As IdentifiedData) (
key As Guid,
versionKey As Guid?
) As IdentifiedData
public:
generic<typename TModel>
where TModel : IdentifiedData
IdentifiedData^ Get(
Guid key,
Nullable<Guid> versionKey
)
member Get :
key : Guid *
versionKey : Nullable<Guid> -> IdentifiedData when 'TModel : IdentifiedData
Parameters
- key
- Type: SystemGuid
The key of the data. - versionKey
- Type: SystemNullableGuid
The version key of the data.
Type Parameters
- TModel
- The type of data for which to retrieve.
Return Value
Type:
IdentifiedDataReturns the specified data.
See Also