| 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
)
Function QueryChildObjects (
scopingEntityKey As Object,
propertyName As String,
filter As NameValueCollection,
offset As Integer,
count As Integer,
<OutAttribute> ByRef totalCount As Integer
) As IEnumerable(Of Object)
IEnumerable<Object^>^ QueryChildObjects(
Object^ scopingEntityKey,
String^ propertyName,
NameValueCollection^ filter,
int offset,
int count,
[OutAttribute] int% totalCount
)
abstract QueryChildObjects :
scopingEntityKey : Object *
propertyName : string *
filter : NameValueCollection *
offset : int *
count : int *
totalCount : int byref -> IEnumerable<Object>
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:
IEnumerableObjectThe matching results
See Also