RoleRepo Class

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

Repo for roles.

public static class RoleRepo
Inheritance:
System.Object → RoleRepo

Methods

AddUserToRole(Int32, Int32) Adds a User to the specified Role.
Delete(Int32) Permanently removes a Role object from the repository.
Get(Int32) 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(Int32, Int32) 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.