| ResourceHandlerBaseTFhirResource, TModelUpdate Method (String, Resource, TransactionMode) |
Updates the specified resource.
Namespace:
SanteDB.Messaging.FHIR.Handlers
Assembly:
SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 2.2.1
Syntax public Resource Update(
string id,
Resource target,
TransactionMode mode
)
Public Function Update (
id As String,
target As Resource,
mode As TransactionMode
) As Resource
public:
virtual Resource^ Update(
String^ id,
Resource^ target,
TransactionMode mode
) sealed
abstract Update :
id : string *
target : Resource *
mode : TransactionMode -> Resource
override Update :
id : string *
target : Resource *
mode : TransactionMode -> Resource
Parameters
- id
- Type: SystemString
The identifier. - target
- Type: Resource
The target. - mode
- Type: SanteDB.Core.ServicesTransactionMode
The mode.
Return Value
Type:
ResourceReturns the FHIR operation result containing the updated resource.
Implements
IFhirResourceHandlerUpdate(String, Resource, TransactionMode)Exceptions See Also