Ensures that a group exists.

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

Syntax

C#
SnGroupEntity EnsureGroupExists(
	Guid groupId
)
Visual Basic
Function EnsureGroupExists ( 
	groupId As Guid
) As SnGroupEntity
Visual C++
SnGroupEntity^ EnsureGroupExists(
	Guid groupId
)
F#
abstract EnsureGroupExists : 
        groupId : Guid -> SnGroupEntity 

Parameters

groupId
Type: System..::..Guid
Group ID.

Return Value

Type: SnGroupEntity
Group retrieved by its primary key. If the group does not exists, a new one is created.

See Also