C# 클래스 ActivEarth.DAO.UserDAO

파일 보기 프로젝트 열기: mlcamilli/ActivEarth

공개 메소드들

메소드 설명
AddBadgePoints ( int userId, int points ) : bool
AddChallengePoints ( int userId, int points ) : bool
AddContestPoints ( int userId, int points ) : bool
ConfirmPassword ( string password, int userId ) : bool
CreateNewUser ( User user, string password ) : int
GetAllUsers ( ) : ObservableCollection
GetUserFromUserId ( int userId ) : User
GetUserFromUserName ( string userName ) : UserDataProvider
GetUserFromUserNameAndPassword ( string userName, string password ) : User
GetUserIdFromUserName ( string username ) : int
UpdatePassword ( string password, int userId, string &errorMessage ) : bool
UpdateUserProfile ( User user ) : bool

메소드 상세

AddBadgePoints() 공개 정적인 메소드

public static AddBadgePoints ( int userId, int points ) : bool
userId int
points int
리턴 bool

AddChallengePoints() 공개 정적인 메소드

public static AddChallengePoints ( int userId, int points ) : bool
userId int
points int
리턴 bool

AddContestPoints() 공개 정적인 메소드

public static AddContestPoints ( int userId, int points ) : bool
userId int
points int
리턴 bool

ConfirmPassword() 공개 정적인 메소드

public static ConfirmPassword ( string password, int userId ) : bool
password string
userId int
리턴 bool

CreateNewUser() 공개 정적인 메소드

public static CreateNewUser ( User user, string password ) : int
user ActivEarth.Objects.Profile.User
password string
리턴 int

GetAllUsers() 공개 정적인 메소드

public static GetAllUsers ( ) : ObservableCollection
리턴 ObservableCollection

GetUserFromUserId() 공개 정적인 메소드

public static GetUserFromUserId ( int userId ) : User
userId int
리턴 ActivEarth.Objects.Profile.User

GetUserFromUserName() 공개 정적인 메소드

public static GetUserFromUserName ( string userName ) : UserDataProvider
userName string
리턴 ActivEarth.Server.Service.UserDataProvider

GetUserFromUserNameAndPassword() 공개 정적인 메소드

public static GetUserFromUserNameAndPassword ( string userName, string password ) : User
userName string
password string
리턴 ActivEarth.Objects.Profile.User

GetUserIdFromUserName() 공개 정적인 메소드

public static GetUserIdFromUserName ( string username ) : int
username string
리턴 int

UpdatePassword() 공개 정적인 메소드

public static UpdatePassword ( string password, int userId, string &errorMessage ) : bool
password string
userId int
errorMessage string
리턴 bool

UpdateUserProfile() 공개 정적인 메소드

public static UpdateUserProfile ( User user ) : bool
user ActivEarth.Objects.Profile.User
리턴 bool