Retrieves a list of child items.
Namespace: MonoSoftware.MonoX.RepositoriesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public virtual EntityCollection<T> GetChildItems<T>(
Guid parentId,
int parentEntityType,
int childEntityType,
SortExpression sorter
)
where T : EntityBase2
|
Visual Basic |
---|
Public Overridable Function GetChildItems(Of T As EntityBase2) (
parentId As Guid,
parentEntityType As Integer,
childEntityType As Integer,
sorter As SortExpression
) As EntityCollection(Of T) |
Visual C++ |
---|
public:
generic<typename T>
where T : EntityBase2
virtual 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
override 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
Return Value
Type:
EntityCollection<(Of <(<'T>)>)>Collection of child entities.
Implements
IRelationshipRepository..::..GetChildItems<(Of <<'(T>)>>)(Guid, Int32, Int32, SortExpression)See Also