C# 클래스 Contrive.Sample.Data.RoleRepository

The AdventureWorks database does not contain a role concept.
상속: Contrive.Common.Data.DataServiceBase, IRoleRepository
파일 보기 프로젝트 열기: alanstevens/Contrive

공개 메소드들

메소드 설명
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