Ensures that a group exists.
Namespace: MonoSoftware.MonoX.RepositoriesAssembly: 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 |
Return Value
Type:
SnGroupEntityGroup retrieved by its primary key. If the group does not exists, a new one is created.
Implements
IGroupRepository..::..EnsureGroupExists(Guid)See Also