C# Class MySql.Data.MySqlClient.PreparableStatement

Summary description for PreparedStatement.
Inheritance: Statement
Datei anzeigen Open project: elevate/mysqlconnector-.net Class Usage Examples

Public Methods

Method Description
CloseStatement ( ) : void
Execute ( ) : void
ExecuteNext ( ) : bool
PreparableStatement ( MySqlCommand command, string text ) : System
Prepare ( ) : void

Private Methods

Method Description
PrepareCommandText ( string &stripped_sql ) : List

Prepares CommandText for use with the Prepare method

Takes the output of TokenizeSql and creates a single string of SQL that only contains '?' markers for each parameter. It also creates the parameterMap array list that includes all the paramter names in the order they appeared in the SQL

Method Details

CloseStatement() public method

public CloseStatement ( ) : void
return void

Execute() public method

public Execute ( ) : void
return void

ExecuteNext() public method

public ExecuteNext ( ) : bool
return bool

PreparableStatement() public method

public PreparableStatement ( MySqlCommand command, string text ) : System
command MySqlCommand
text string
return System

Prepare() public method

public Prepare ( ) : void
return void