RoleRepo Class

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

Repo for roles.

public static class RoleRepo
Inheritance:
System.Object → RoleRepo

Methods

AddUserToRole(int, int) 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.
RemoveUserFromRole(int, int) Removes a User from the specified Role.
Search(RoleQuery) Performs a search according to the specified RoleQuery object.
Update(Role) Updates an existing Role in the datasource.