Click or drag to resize

IHdsiServiceContractAssociationRemove(String, String, String, String) Method

Removes a child resource instance from the parent container

Namespace: SanteDB.Rest.HDSI
Assembly: SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 3.0.2081-alpha+19f573cdc8c56fbc278c5e41a734f011a9baa699
Syntax
Object AssociationRemove(
	string resourceType,
	string id,
	string childResourceType,
	string childResourceKey
)

Parameters

resourceType  String
The type of resource which is the container
id  String
The key of the container
childResourceType  String
The property on which the sub-key resides
childResourceKey  String
The actual value of the sub-key

Return Value

Object
The removed object
Remarks
This method will unlink, or delete (depending on behavior of the provider) the child resource from the container.
See Also