Retrieves a list of child items.

Namespace: MonoSoftware.MonoX.BusinessLayer
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
EntityCollection<T> GetChildItems<T>(
	Guid parentId,
	int parentEntityType,
	int childEntityType,
	SortExpression sorter
)
where T : EntityBase2
Visual Basic
Function GetChildItems(Of T As EntityBase2) ( 
	parentId As Guid,
	parentEntityType As Integer,
	childEntityType As Integer,
	sorter As SortExpression
) As EntityCollection(Of T)
Visual C++
generic<typename T>
where T : EntityBase2
EntityCollection<T>^ GetChildItems(
	Guid parentId, 
	int parentEntityType, 
	int childEntityType, 
	SortExpression^ sorter
)
F#
abstract GetChildItems : 
        parentId : Guid * 
        parentEntityType : int * 
        childEntityType : int * 
        sorter : SortExpression -> EntityCollection<'T>  when 'T : EntityBase2

Parameters

parentId
Type: System..::..Guid
Parent id.
parentEntityType
Type: System..::..Int32
Parent entity type (for example BlogPost).
childEntityType
Type: System..::..Int32
Child entity type (for example SnComment).
sorter
Type: SortExpression
Sorted that is to be used.

Type Parameters

T
Type of child item(s).

Return Value

Type: EntityCollection<(Of <(<'T>)>)>
Collection of child entities.

See Also