Ensures that a group exists.

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

Syntax

C#
public virtual SnGroupEntity EnsureGroupExists(
	Guid groupId
)
Visual Basic
Public Overridable Function EnsureGroupExists ( 
	groupId As Guid
) As SnGroupEntity
Visual C++
public:
virtual SnGroupEntity^ EnsureGroupExists(
	Guid groupId
)
F#
abstract EnsureGroupExists : 
        groupId : Guid -> SnGroupEntity 
override 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.

Implements

IGroupBLL..::..EnsureGroupExists(Guid)

See Also