Click or drag to resize

IChainedApiResourceHandlerQueryChildObjects Method

Queries the associated entities which are contained within the specified scoping entity

Namespace:  SanteDB.Rest.Common
Assembly:  SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 2.2.1
Syntax
IEnumerable<Object> QueryChildObjects(
	Object scopingEntityKey,
	string propertyName,
	NameValueCollection filter,
	int offset,
	int count,
	out int totalCount
)

Parameters

scopingEntityKey
Type: SystemObject
The container (scope) entity to which the sub entity belongs
propertyName
Type: SystemString
The name of the property/relationship to scope to
filter
Type: SanteDB.Core.Model.QueryNameValueCollection
The filter to apply
offset
Type: SystemInt32
The offset of the first row to be retrieved
count
Type: SystemInt32
The number of objects which should be returned from the query
totalCount
Type: SystemInt32
The total matching results

Return Value

Type: IEnumerableObject
The matching results
See Also