C# Class OSAE.OSAESql

Afficher le fichier Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Méthodes publiques

Méthode Description
RunQuery ( MySqlCommand command ) : DataSet

Runs the passed in SQL query on the database and returns a dataset of the results

RunSQL ( string sql ) : DataSet

Runs the passed in SQL query on the database and returns a dataset of the results

Method Details

RunQuery() public static méthode

Runs the passed in SQL query on the database and returns a dataset of the results
public static RunQuery ( MySqlCommand command ) : DataSet
command MySql.Data.MySqlClient.MySqlCommand
Résultat System.Data.DataSet

RunSQL() public static méthode

Runs the passed in SQL query on the database and returns a dataset of the results
public static RunSQL ( string sql ) : DataSet
sql string
Résultat System.Data.DataSet