Click or drag to resize

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: 3.0.2081-alpha+cbc29d8899d643bca0b6921497a6c32801355dbe
Syntax
public TModel Get<TModel>(
	Guid key,
	Guid? versionKey
)
where TModel : IdentifiedData

Parameters

key  Guid
The key of the data.
versionKey  NullableGuid
The version key of the data.

Type Parameters

TModel
The type of data for which to retrieve.

Return Value

TModel
Returns the specified data.
See Also