SpaceRepo Class
- Namespace:
- Weavy.Core.Repos
- Assembly:
- Weavy.Core.dll
Repo for spaces.
public static class SpaceRepo
- Inheritance:
- System.Object → SpaceRepo
Methods
Archive(int) | Archived a space, i.e. sets the IsArchived flag. |
Delete(int) | Permanently deletes a Space. |
Get(int) | Gets a Space object from the repository. |
Get |
Gets a Space object from the repository. |
Get |
Gets a Space object from the repository. |
Get |
Gets the HQ Space from the repository. |
Get |
Returns a space Member. |
Get |
Returns the User that are members of the Space. |
Insert(Space) | Inserts a Space object into the repository. |
Remove |
Removes a User from the specified Space. |
Restore(int) | Restores a trashed Space and its descendants, i.e. clears the IsTrashed flag. |
Search(Space |
Performs a search according to the specified SpaceQuery object. |
Set |
Set the HQ. |
Trash(int) | Trashes a space, i.e. sets the IsTrashed flag. |
Unarchive(int) | Unarchive a space, i.e. clears the IsArchived flag. |
Update(Space) | Updates an existing Space in the datasource. |
Upsert |
Insert or update the specified User as a member in the specified Space. |