C# Class MySql.Data.MySqlClient.Statement

ファイルを表示 Open project: elevate/mysqlconnector-.net

Protected Properties

Property Type Description
command MySqlCommand
commandText string

Public Methods

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

Protected Methods

Method Description
BindParameters ( ) : void
ShouldIgnoreMissingParameter ( string parameterName ) : bool

Private Methods

Method 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 method

protected BindParameters ( ) : void
return void

Close() public method

public Close ( MySqlDataReader reader ) : void
reader MySqlDataReader
return void

Execute() public method

public Execute ( ) : void
return void

ExecuteNext() public method

public ExecuteNext ( ) : bool
return bool

Resolve() public method

public Resolve ( bool preparing ) : void
preparing bool
return void

ShouldIgnoreMissingParameter() protected method

protected ShouldIgnoreMissingParameter ( string parameterName ) : bool
parameterName string
return bool

Statement() public method

public Statement ( MySqlCommand cmd, string text ) : System
cmd MySqlCommand
text string
return System

Property Details

command protected_oe property

protected MySqlCommand,MySql.Data.MySqlClient command
return MySqlCommand

commandText protected_oe property

protected string commandText
return string