C# Class DSShared.DB_MySql.MySQL_DBTable

Inheritance: IComparable
Afficher le fichier Open project: pmprog/OpenXCOM.Tools

Protected Properties

Свойство Type Description
myType DSShared.DB.DBTableType

Méthodes publiques

Méthode Description
CompareTo ( object other ) : int
Delete ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
Equals ( object other ) : bool
GetAll ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans, string table, bool cache ) : ArrayList
GetAll ( string table, bool cache ) : ArrayList
GetAllHash ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans, string table, bool cache ) : Hashtable
GetAllHash ( string table, bool cache ) : Hashtable

Retrieves all rows from a single table according to the columns specified

GetHashCode ( ) : int
Insert ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
MySQL_DBTable ( string tableName ) : System
PrintTableInfo ( ) : void
Save ( ) : void
Save ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
Update ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void

Méthodes protégées

Méthode Description
FinishGet ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void

Method Details

CompareTo() public abstract méthode

public abstract CompareTo ( object other ) : int
other object
Résultat int

Delete() public méthode

public Delete ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
Résultat void

Equals() public abstract méthode

public abstract Equals ( object other ) : bool
other object
Résultat bool

FinishGet() protected méthode

protected FinishGet ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
Résultat void

GetAll() public static méthode

public static GetAll ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans, string table, bool cache ) : ArrayList
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
table string
cache bool
Résultat System.Collections.ArrayList

GetAll() public static méthode

public static GetAll ( string table, bool cache ) : ArrayList
table string
cache bool
Résultat System.Collections.ArrayList

GetAllHash() public static méthode

public static GetAllHash ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans, string table, bool cache ) : Hashtable
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
table string
cache bool
Résultat System.Collections.Hashtable

GetAllHash() public static méthode

Retrieves all rows from a single table according to the columns specified
public static GetAllHash ( string table, bool cache ) : Hashtable
table string table name
cache bool if the table does not change frequently, you should set this to true
Résultat System.Collections.Hashtable

GetHashCode() public abstract méthode

public abstract GetHashCode ( ) : int
Résultat int

Insert() public méthode

public Insert ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
Résultat void

MySQL_DBTable() public méthode

public MySQL_DBTable ( string tableName ) : System
tableName string
Résultat System

PrintTableInfo() public méthode

public PrintTableInfo ( ) : void
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

Save() public méthode

public Save ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
Résultat void

Update() public méthode

public Update ( MySqlConnection conn, MySql.Data.MySqlClient.MySqlTransaction trans ) : void
conn MySql.Data.MySqlClient.MySqlConnection
trans MySql.Data.MySqlClient.MySqlTransaction
Résultat void

Property Details

myType protected_oe property

protected DSShared.DB.DBTableType myType
Résultat DSShared.DB.DBTableType