C# Class UserManager.Database

Afficher le fichier Open project: CarlosX/DarkEmu

Méthodes publiques

Méthode Description
ChangeData ( string MySqlCommand ) : void
CheckTables ( string tables ) : void
Connect ( DatabaseSettings settings ) : void
GetBool ( string MySqlCommand, string Column ) : bool
GetByte ( string MySqlCommand, string Column ) : byte
GetDouble ( string MySqlCommand, string Column ) : double
GetFloat ( string MySqlCommand, string Column ) : float
GetInt ( string MySqlCommand, string Column ) : int
GetRowsCount ( string MySqlCommand ) : int
GetString ( string MySqlCommand, string Column ) : string
GetUInt ( string MySqlCommand, string Column ) : uint
GetULong ( string MySqlCommand, string Column ) : ulong
GetUShort ( string MySqlCommand, string Column ) : ushort

Private Methods

Méthode Description
Connect ( string DBIp, int DBPort, string DB, string DBUsername, string DBPassword ) : void

Method Details

ChangeData() public static méthode

public static ChangeData ( string MySqlCommand ) : void
MySqlCommand string
Résultat void

CheckTables() public static méthode

public static CheckTables ( string tables ) : void
tables string
Résultat void

Connect() public static méthode

public static Connect ( DatabaseSettings settings ) : void
settings DatabaseSettings
Résultat void

GetBool() public static méthode

public static GetBool ( string MySqlCommand, string Column ) : bool
MySqlCommand string
Column string
Résultat bool

GetByte() public static méthode

public static GetByte ( string MySqlCommand, string Column ) : byte
MySqlCommand string
Column string
Résultat byte

GetDouble() public static méthode

public static GetDouble ( string MySqlCommand, string Column ) : double
MySqlCommand string
Column string
Résultat double

GetFloat() public static méthode

public static GetFloat ( string MySqlCommand, string Column ) : float
MySqlCommand string
Column string
Résultat float

GetInt() public static méthode

public static GetInt ( string MySqlCommand, string Column ) : int
MySqlCommand string
Column string
Résultat int

GetRowsCount() public static méthode

public static GetRowsCount ( string MySqlCommand ) : int
MySqlCommand string
Résultat int

GetString() public static méthode

public static GetString ( string MySqlCommand, string Column ) : string
MySqlCommand string
Column string
Résultat string

GetUInt() public static méthode

public static GetUInt ( string MySqlCommand, string Column ) : uint
MySqlCommand string
Column string
Résultat uint

GetULong() public static méthode

public static GetULong ( string MySqlCommand, string Column ) : ulong
MySqlCommand string
Column string
Résultat ulong

GetUShort() public static méthode

public static GetUShort ( string MySqlCommand, string Column ) : ushort
MySqlCommand string
Column string
Résultat ushort