C# 클래스 PRTools.Data.AccountRepository

상속: IAccountRepository
파일 보기 프로젝트 열기: AcklenAvenue/PRTools

공개 메소드들

메소드 설명
AccountRepository ( IMappingEngine mappingEngine ) : System
ChangePassword ( string username, string currentPassword, string newPassword ) : void
Create ( CreateAccountRequest createAccountRequest, string encryptedPassword ) : void
Delete ( DeleteAccountRequest deleteAccountRequest ) : void
Get ( int accountId ) : Domain.Account
Get ( string username ) : Domain.Account
Get ( string username, string password ) : Domain.Account
GetAuthorizedActionsForUser ( string username ) : IEnumerable
GetUsers ( ) : IEnumerable
QuickSearch ( string searchString ) : SearchAccountsResponse
Search ( SearchAccountsRequest searchAccountsRequest ) : SearchAccountsResponse
Update ( UpdateAccountRequest updateAccountRequest ) : void
UserNameExists ( string username ) : bool

메소드 상세

AccountRepository() 공개 메소드

public AccountRepository ( IMappingEngine mappingEngine ) : System
mappingEngine IMappingEngine
리턴 System

ChangePassword() 공개 메소드

public ChangePassword ( string username, string currentPassword, string newPassword ) : void
username string
currentPassword string
newPassword string
리턴 void

Create() 공개 메소드

public Create ( CreateAccountRequest createAccountRequest, string encryptedPassword ) : void
createAccountRequest PRTools.Domain.Commands.CreateAccountRequest
encryptedPassword string
리턴 void

Delete() 공개 메소드

public Delete ( DeleteAccountRequest deleteAccountRequest ) : void
deleteAccountRequest PRTools.Domain.Commands.DeleteAccountRequest
리턴 void

Get() 공개 메소드

public Get ( int accountId ) : Domain.Account
accountId int
리턴 Domain.Account

Get() 공개 메소드

public Get ( string username ) : Domain.Account
username string
리턴 Domain.Account

Get() 공개 메소드

public Get ( string username, string password ) : Domain.Account
username string
password string
리턴 Domain.Account

GetAuthorizedActionsForUser() 공개 메소드

public GetAuthorizedActionsForUser ( string username ) : IEnumerable
username string
리턴 IEnumerable

GetUsers() 공개 메소드

public GetUsers ( ) : IEnumerable
리턴 IEnumerable

QuickSearch() 공개 메소드

public QuickSearch ( string searchString ) : SearchAccountsResponse
searchString string
리턴 PRTools.Domain.Commands.SearchAccountsResponse

Search() 공개 메소드

public Search ( SearchAccountsRequest searchAccountsRequest ) : SearchAccountsResponse
searchAccountsRequest PRTools.Domain.Commands.SearchAccountsRequest
리턴 PRTools.Domain.Commands.SearchAccountsResponse

Update() 공개 메소드

public Update ( UpdateAccountRequest updateAccountRequest ) : void
updateAccountRequest PRTools.Domain.Commands.UpdateAccountRequest
리턴 void

UserNameExists() 공개 메소드

public UserNameExists ( string username ) : bool
username string
리턴 bool