| HdsiIntegrationServiceGetTModel Method (Guid, NullableGuid, IntegrationQueryOptions) |
Gets a specified model.
Namespace:
SanteDB.DisconnectedClient.Interop.HDSI
Assembly:
SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax public TModel Get<TModel>(
Guid key,
Guid? versionKey,
IntegrationQueryOptions options = null
)
where TModel : IdentifiedData
Public Function Get(Of TModel As IdentifiedData) (
key As Guid,
versionKey As Guid?,
Optional options As IntegrationQueryOptions = Nothing
) As TModel
public:
generic<typename TModel>
where TModel : IdentifiedData
virtual TModel Get(
Guid key,
Nullable<Guid> versionKey,
IntegrationQueryOptions^ options = nullptr
) sealed
abstract Get :
key : Guid *
versionKey : Nullable<Guid> *
?options : IntegrationQueryOptions
(* Defaults:
let _options = defaultArg options null
*)
-> 'TModel when 'TModel : IdentifiedData
override Get :
key : Guid *
versionKey : Nullable<Guid> *
?options : IntegrationQueryOptions
(* Defaults:
let _options = defaultArg options null
*)
-> 'TModel when 'TModel : IdentifiedData
Parameters
- key
- Type: SystemGuid
The key of the model. - versionKey
- Type: SystemNullableGuid
The version key of the model. - options (Optional)
- Type: SanteDB.DisconnectedClient.ServicesIntegrationQueryOptions
The integrations query options.
Type Parameters
- TModel
- The type of model data to retrieve.
Return Value
Type:
TModelReturns a model.
Implements
IIntegrationServiceGetTModel(Guid, NullableGuid, IntegrationQueryOptions)See Also