C# Класс Contrive.Sample.Data.RoleRepository

The AdventureWorks database does not contain a role concept.
Наследование: Contrive.Common.Data.DataServiceBase, IRoleRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
Delete ( IRole role ) : void
FindUsersInRole ( string roleName, string usernameToMatch ) : IEnumerable
GetAll ( ) : IEnumerable
GetRoleByName ( string roleName ) : IRole
GetRolesForRoleNames ( IEnumerable roleNames ) : IEnumerable
Insert ( IRole role ) : void
Update ( IRole role ) : void

Описание методов

Delete() публичный Метод

public Delete ( IRole role ) : void
role IRole
Результат void

FindUsersInRole() публичный Метод

public FindUsersInRole ( string roleName, string usernameToMatch ) : IEnumerable
roleName string
usernameToMatch string
Результат IEnumerable

GetAll() публичный Метод

public GetAll ( ) : IEnumerable
Результат IEnumerable

GetRoleByName() публичный Метод

public GetRoleByName ( string roleName ) : IRole
roleName string
Результат IRole

GetRolesForRoleNames() публичный Метод

public GetRolesForRoleNames ( IEnumerable roleNames ) : IEnumerable
roleNames IEnumerable
Результат IEnumerable

Insert() публичный Метод

public Insert ( IRole role ) : void
role IRole
Результат void

Update() публичный Метод

public Update ( IRole role ) : void
role IRole
Результат void