Gets the news categories for current application in specified language.
Namespace: MonoSoftware.MonoX.RepositoriesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
protected virtual EntityCollection<NewsCategoryEntity> GetCategories(
out Context activeContext,
IRelationPredicateBucket bucket,
ISortExpression sorter,
IPrefetchPath2 prefetchPath
) |
Visual Basic |
---|
Protected Overridable Function GetCategories (
<OutAttribute> ByRef activeContext As Context,
bucket As IRelationPredicateBucket,
sorter As ISortExpression,
prefetchPath As IPrefetchPath2
) As EntityCollection(Of NewsCategoryEntity) |
Visual C++ |
---|
protected:
virtual EntityCollection<NewsCategoryEntity^>^ GetCategories(
[OutAttribute] Context^% activeContext,
IRelationPredicateBucket^ bucket,
ISortExpression^ sorter,
IPrefetchPath2^ prefetchPath
) |
F# |
---|
abstract GetCategories :
activeContext : Context byref *
bucket : IRelationPredicateBucket *
sorter : ISortExpression *
prefetchPath : IPrefetchPath2 -> EntityCollection<NewsCategoryEntity>
override GetCategories :
activeContext : Context byref *
bucket : IRelationPredicateBucket *
sorter : ISortExpression *
prefetchPath : IPrefetchPath2 -> EntityCollection<NewsCategoryEntity> |
Parameters
- activeContext
- Type: Context%
Active context which will ensure that there is only one copy of each fetched object
- bucket
- Type: IRelationPredicateBucket
Filter.
- sorter
- Type: ISortExpression
Sorter.
- prefetchPath
- Type: IPrefetchPath2
Prefetch Path.
Return Value
Type:
EntityCollection<(Of <(<'NewsCategoryEntity>)>)>News category collection
See Also