| IHdsiServiceContractAssociationCreate Method |
Assigns the child object as a child (or link) of the parent
Namespace:
SanteDB.Rest.HDSI
Assembly:
SanteDB.Rest.HDSI (in SanteDB.Rest.HDSI.dll) Version: 2.2.1
Syntax Object AssociationCreate(
string resourceType,
string id,
string childResourceType,
Object body
)
Function AssociationCreate (
resourceType As String,
id As String,
childResourceType As String,
body As Object
) As Object
Object^ AssociationCreate(
String^ resourceType,
String^ id,
String^ childResourceType,
Object^ body
)
abstract AssociationCreate :
resourceType : string *
id : string *
childResourceType : string *
body : Object -> Object
Parameters
- resourceType
- Type: SystemString
The type of container resource - id
- Type: SystemString
[Missing <param name="id"/> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.AssociationCreate(System.String,System.String,System.String,System.Object)"]
- childResourceType
- Type: SystemString
The property which is the association to be added - body
- Type: SystemObject
The object to be added to the collection
Return Value
Type:
Object[Missing <returns> documentation for "M:SanteDB.Rest.HDSI.IHdsiServiceContract.AssociationCreate(System.String,System.String,System.String,System.Object)"]
Remarks This method adds a new child resource instance to the container and performs the necessary linking
See Also