Find category in category hierarchy tree.

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

Syntax

C#
public virtual NewsCategoryEntity FindCategoryInCategoryTree(
	NewsCategoryEntity entity,
	Guid entityId
)
Visual Basic
Public Overridable Function FindCategoryInCategoryTree ( 
	entity As NewsCategoryEntity,
	entityId As Guid
) As NewsCategoryEntity
Visual C++
public:
virtual NewsCategoryEntity^ FindCategoryInCategoryTree(
	NewsCategoryEntity^ entity, 
	Guid entityId
)
F#
abstract FindCategoryInCategoryTree : 
        entity : NewsCategoryEntity * 
        entityId : Guid -> NewsCategoryEntity 
override FindCategoryInCategoryTree : 
        entity : NewsCategoryEntity * 
        entityId : Guid -> NewsCategoryEntity 

Parameters

entity
Type: NewsCategoryEntity
News category to search within
entityId
Type: System..::..Guid
Category id to search for

Return Value

Type: NewsCategoryEntity
News category if found, otherwise null

Implements

INewsRepository..::..FindCategoryInCategoryTree(NewsCategoryEntity, Guid)

See Also