C# Class MySql.Data.MySqlClient.Statement

Afficher le fichier Open project: elevate/mysqlconnector-.net

Protected Properties

Свойство Type Description
command MySqlCommand
commandText string

Méthodes publiques

Méthode Description
Close ( MySqlDataReader reader ) : void
Execute ( ) : void
ExecuteNext ( ) : bool
Resolve ( bool preparing ) : void
Statement ( MySqlCommand cmd, string text ) : System

Méthodes protégées

Méthode Description
BindParameters ( ) : void
ShouldIgnoreMissingParameter ( string parameterName ) : bool

Private Methods

Méthode Description
InternalBindParameters ( string sql, MySqlParameterCollection parameters, MySqlPacket packet ) : void
SerializeParameter ( MySqlParameterCollection parameters, MySqlPacket packet, string parmName ) : bool

Serializes the given parameter to the given memory stream

This method is called by PrepareSqlBuffers to convert the given parameter to bytes and write those bytes to the given memory stream.

Statement ( MySqlCommand cmd ) : System

Method Details

BindParameters() protected méthode

protected BindParameters ( ) : void
Résultat void

Close() public méthode

public Close ( MySqlDataReader reader ) : void
reader MySqlDataReader
Résultat void

Execute() public méthode

public Execute ( ) : void
Résultat void

ExecuteNext() public méthode

public ExecuteNext ( ) : bool
Résultat bool

Resolve() public méthode

public Resolve ( bool preparing ) : void
preparing bool
Résultat void

ShouldIgnoreMissingParameter() protected méthode

protected ShouldIgnoreMissingParameter ( string parameterName ) : bool
parameterName string
Résultat bool

Statement() public méthode

public Statement ( MySqlCommand cmd, string text ) : System
cmd MySqlCommand
text string
Résultat System

Property Details

command protected_oe property

protected MySqlCommand,MySql.Data.MySqlClient command
Résultat MySqlCommand

commandText protected_oe property

protected string commandText
Résultat string