C# Class MySql.Data.MySqlClient.PreparableStatement

Summary description for PreparedStatement.
Inheritance: Statement
Afficher le fichier Open project: elevate/mysqlconnector-.net Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public CloseStatement ( ) : void
Résultat void

Execute() public méthode

public Execute ( ) : void
Résultat void

ExecuteNext() public méthode

public ExecuteNext ( ) : bool
Résultat bool

PreparableStatement() public méthode

public PreparableStatement ( MySqlCommand command, string text ) : System
command MySqlCommand
text string
Résultat System

Prepare() public méthode

public Prepare ( ) : void
Résultat void