C# Class UserManager.Database

Exibir arquivo Open project: CarlosX/DarkEmu

Public Methods

Method 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

Method Description
Connect ( string DBIp, int DBPort, string DB, string DBUsername, string DBPassword ) : void

Method Details

ChangeData() public static method

public static ChangeData ( string MySqlCommand ) : void
MySqlCommand string
return void

CheckTables() public static method

public static CheckTables ( string tables ) : void
tables string
return void

Connect() public static method

public static Connect ( DatabaseSettings settings ) : void
settings DatabaseSettings
return void

GetBool() public static method

public static GetBool ( string MySqlCommand, string Column ) : bool
MySqlCommand string
Column string
return bool

GetByte() public static method

public static GetByte ( string MySqlCommand, string Column ) : byte
MySqlCommand string
Column string
return byte

GetDouble() public static method

public static GetDouble ( string MySqlCommand, string Column ) : double
MySqlCommand string
Column string
return double

GetFloat() public static method

public static GetFloat ( string MySqlCommand, string Column ) : float
MySqlCommand string
Column string
return float

GetInt() public static method

public static GetInt ( string MySqlCommand, string Column ) : int
MySqlCommand string
Column string
return int

GetRowsCount() public static method

public static GetRowsCount ( string MySqlCommand ) : int
MySqlCommand string
return int

GetString() public static method

public static GetString ( string MySqlCommand, string Column ) : string
MySqlCommand string
Column string
return string

GetUInt() public static method

public static GetUInt ( string MySqlCommand, string Column ) : uint
MySqlCommand string
Column string
return uint

GetULong() public static method

public static GetULong ( string MySqlCommand, string Column ) : ulong
MySqlCommand string
Column string
return ulong

GetUShort() public static method

public static GetUShort ( string MySqlCommand, string Column ) : ushort
MySqlCommand string
Column string
return ushort