C# 클래스 EasyAuth.Storage.EntityUserStore

Stores users in a database using Entity.
상속: IUserStore
파일 보기 프로젝트 열기: adamkdean/EasyAuth

공개 메소드들

메소드 설명
AddUser ( string username, string password ) : void
DeleteUserById ( int id ) : void
GetAllUsers ( ) : List
GetUserById ( int id ) : User
GetUserByUsername ( string username ) : User
UpdateUserById ( int id, User newUser ) : void
UserExistsById ( int id ) : bool
UserExistsByUsername ( string username ) : bool

보호된 메소드들

메소드 설명
CopyProperties ( object dest, object src ) : void

비공개 메소드들

메소드 설명
EntityUserStore ( ) : System
Reset ( ) : void

메소드 상세

AddUser() 공개 메소드

public AddUser ( string username, string password ) : void
username string
password string
리턴 void

CopyProperties() 보호된 메소드

protected CopyProperties ( object dest, object src ) : void
dest object
src object
리턴 void

DeleteUserById() 공개 메소드

public DeleteUserById ( int id ) : void
id int
리턴 void

GetAllUsers() 공개 메소드

public GetAllUsers ( ) : List
리턴 List

GetUserById() 공개 메소드

public GetUserById ( int id ) : User
id int
리턴 User

GetUserByUsername() 공개 메소드

public GetUserByUsername ( string username ) : User
username string
리턴 User

UpdateUserById() 공개 메소드

public UpdateUserById ( int id, User newUser ) : void
id int
newUser User
리턴 void

UserExistsById() 공개 메소드

public UserExistsById ( int id ) : bool
id int
리턴 bool

UserExistsByUsername() 공개 메소드

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