C# Class Storage.DAO.UserDAO

显示文件 Open project: aokolity/Storage

Public Methods

Method Description
GetUser ( string userName ) : UserModel
GetUserFullName ( string userName ) : string
GetUserID ( string userName ) : int?
IsActive ( string userName ) : bool
UpdateUser ( UserModel userModel ) : void
ValidateUser ( string userName, string password ) : bool

Method Details

GetUser() public static method

public static GetUser ( string userName ) : UserModel
userName string
return Storage.Models.UserModel

GetUserFullName() public static method

public static GetUserFullName ( string userName ) : string
userName string
return string

GetUserID() public static method

public static GetUserID ( string userName ) : int?
userName string
return int?

IsActive() public static method

public static IsActive ( string userName ) : bool
userName string
return bool

UpdateUser() public static method

public static UpdateUser ( UserModel userModel ) : void
userModel Storage.Models.UserModel
return void

ValidateUser() public static method

public static ValidateUser ( string userName, string password ) : bool
userName string
password string
return bool