C# Class SagaDB.MSSQLUserDB

Inheritance: UserDB
Afficher le fichier Open project: Willyham/SagaRO2

Méthodes publiques

Méthode Description
CheckPassword ( string user, string password ) : bool
Connect ( ) : bool
GetAccountID ( string user ) : int
GetUser ( User user ) : User
GetUser ( string username ) : User
MSSQLUserDB ( string host, int port, string database, string user, string pass ) : System
WriteUser ( User user ) : void
isConnected ( ) : bool

Private Methods

Méthode Description
byte2Gender ( byte b ) : GenderType

Method Details

CheckPassword() public méthode

public CheckPassword ( string user, string password ) : bool
user string
password string
Résultat bool

Connect() public méthode

public Connect ( ) : bool
Résultat bool

GetAccountID() public méthode

public GetAccountID ( string user ) : int
user string
Résultat int

GetUser() public méthode

public GetUser ( User user ) : User
user User
Résultat User

GetUser() public méthode

public GetUser ( string username ) : User
username string
Résultat User

MSSQLUserDB() public méthode

public MSSQLUserDB ( string host, int port, string database, string user, string pass ) : System
host string
port int
database string
user string
pass string
Résultat System

WriteUser() public méthode

public WriteUser ( User user ) : void
user User
Résultat void

isConnected() public méthode

public isConnected ( ) : bool
Résultat bool