C# Class Smrf.AppLib.MySqlUtil

Utility methods for working with MySql databases.
All methods are static.
Mostrar archivo Open project: 2014-sed-team3/term-project

Public Methods

Method Description
ExecuteStoredProcedureNonQuery ( String connectionString, String storedProcedureName, Int32 commandTimeoutSeconds ) : void
GetMySqlConnectionAndCommand ( String connectionString, String storedProcedureName, Int32 commandTimeoutSeconds, MySqlConnection &mySqlConnection, MySqlCommand &mySqlCommand ) : void
GetNullableString ( MySqlDataReader mySqlDataReader, Int32 columnIndex ) : String

Method Details

ExecuteStoredProcedureNonQuery() public static method

public static ExecuteStoredProcedureNonQuery ( String connectionString, String storedProcedureName, Int32 commandTimeoutSeconds ) : void
connectionString String
storedProcedureName String
commandTimeoutSeconds System.Int32
return void

GetMySqlConnectionAndCommand() public static method

public static GetMySqlConnectionAndCommand ( String connectionString, String storedProcedureName, Int32 commandTimeoutSeconds, MySqlConnection &mySqlConnection, MySqlCommand &mySqlCommand ) : void
connectionString String
storedProcedureName String
commandTimeoutSeconds System.Int32
mySqlConnection MySql.Data.MySqlClient.MySqlConnection
mySqlCommand MySql.Data.MySqlClient.MySqlCommand
return void

GetNullableString() static public method

static public GetNullableString ( MySqlDataReader mySqlDataReader, Int32 columnIndex ) : String
mySqlDataReader MySql.Data.MySqlClient.MySqlDataReader
columnIndex System.Int32
return String