C# 클래스 SalesMate.User

파일 보기 프로젝트 열기: bonjovax/Salesmate 1 사용 예제들

공개 메소드들

메소드 설명
User ( ) : System
User ( String cashieruser ) : System
User ( String cashierlname, String cashierfname, String cashiermname ) : System
User ( String cashierlname, String cashierfname, String cashiermname, Int32 cashierid, String cashieruser, String cashierpass, String isadmin ) : System
User ( String cashierlname, String cashierfname, String cashiermname, int cashierid, String cashieruser, String cashierpass, String isadmin ) : System
Validate ( String inString ) : bool
createAccount ( String cashierfname, String cashiermname, String cashierlname, String cashieruser, String cashierpass, String isadmin ) : void
getCashierIDfromDB ( ) : String
getUserNamefromDB ( string cashieruser ) : String
isAdmin ( ) : bool
isAdmin ( ) : string
isAuth ( String cashieruser, String cashierpass ) : bool
purgeAccount ( Int32 cashierid ) : void
updateAccount ( Int32 cashierid, string cashieruser, string isadmin, string cashierfname, string cashiermname, string cashierlname, string cashierpass ) : void

메소드 상세

User() 공개 메소드

public User ( ) : System
리턴 System

User() 공개 메소드

public User ( String cashieruser ) : System
cashieruser String
리턴 System

User() 공개 메소드

public User ( String cashierlname, String cashierfname, String cashiermname ) : System
cashierlname String
cashierfname String
cashiermname String
리턴 System

User() 공개 메소드

public User ( String cashierlname, String cashierfname, String cashiermname, Int32 cashierid, String cashieruser, String cashierpass, String isadmin ) : System
cashierlname String
cashierfname String
cashiermname String
cashierid System.Int32
cashieruser String
cashierpass String
isadmin String
리턴 System

User() 공개 메소드

public User ( String cashierlname, String cashierfname, String cashiermname, int cashierid, String cashieruser, String cashierpass, String isadmin ) : System
cashierlname String
cashierfname String
cashiermname String
cashierid int
cashieruser String
cashierpass String
isadmin String
리턴 System

Validate() 공개 정적인 메소드

public static Validate ( String inString ) : bool
inString String
리턴 bool

createAccount() 공개 메소드

public createAccount ( String cashierfname, String cashiermname, String cashierlname, String cashieruser, String cashierpass, String isadmin ) : void
cashierfname String
cashiermname String
cashierlname String
cashieruser String
cashierpass String
isadmin String
리턴 void

getCashierIDfromDB() 공개 메소드

public getCashierIDfromDB ( ) : String
리턴 String

getUserNamefromDB() 공개 메소드

public getUserNamefromDB ( string cashieruser ) : String
cashieruser string
리턴 String

isAdmin() 공개 메소드

public isAdmin ( ) : bool
리턴 bool

isAdmin() 공개 메소드

public isAdmin ( ) : string
리턴 string

isAuth() 공개 메소드

public isAuth ( String cashieruser, String cashierpass ) : bool
cashieruser String
cashierpass String
리턴 bool

purgeAccount() 공개 메소드

public purgeAccount ( Int32 cashierid ) : void
cashierid System.Int32
리턴 void

updateAccount() 공개 메소드

public updateAccount ( Int32 cashierid, string cashieruser, string isadmin, string cashierfname, string cashiermname, string cashierlname, string cashierpass ) : void
cashierid System.Int32
cashieruser string
isadmin string
cashierfname string
cashiermname string
cashierlname string
cashierpass string
리턴 void