Ensures that a group category exists.

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

Syntax

C#
SnGroupCategoryEntity EnsureCategoryExists(
	Guid categoryId
)
Visual Basic
Function EnsureCategoryExists ( 
	categoryId As Guid
) As SnGroupCategoryEntity
Visual C++
SnGroupCategoryEntity^ EnsureCategoryExists(
	Guid categoryId
)
F#
abstract EnsureCategoryExists : 
        categoryId : Guid -> SnGroupCategoryEntity 

Parameters

categoryId
Type: System..::..Guid
Category Id

Return Value

Type: SnGroupCategoryEntity
Group category retrieved by its primary id.

See Also