RoleRepo Class
- Namespace:
- Weavy.Core.Repos
- Assembly:
- Weavy.Core.dll
Repo for roles.
public static class RoleRepo
- Inheritance:
- System.Object → RoleRepo
Methods
Add |
Adds a User to the specified Role. |
Delete(int) | Permanently removes a Role object from the repository. |
Get(int) | Gets a Role object from the repository. |
Get(string) | Gets a Role object from the repository. |
Insert(Role) | Inserts a Role object into the repository. |
Remove |
Removes a User from the specified Role. |
Search(Role |
Performs a search according to the specified RoleQuery object. |
Update(Role) | Updates an existing Role in the datasource. |