EntityRepo.SetMentions Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

SetMentions(IEntity, IEnumerable, IEnumerable)

Store the mentions for an entity.

public static void SetMentions(IEntity entity, IEnumerable<int> userids, IEnumerable<int> spaceids)

Parameters

entity
IEntity

The entity for which to store mentions.

userids
System.Collections.Generic.IEnumerable

The list of userids to store, null or empty list to clear mentions from the entity.

spaceids
System.Collections.Generic.IEnumerable

The list of spaceids to store, null or empty list to clear mentions from the entity.