C# Class MySql.Data.MySqlClient.ResultSet

Exibir arquivo Open project: elevate/mysqlconnector-.net Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the current resultset, dumping any data still on the wire

FieldRead ( int index ) : bool
GetOrdinal ( string name ) : int

return the ordinal for the given column name

NextRow ( CommandBehavior behavior ) : bool
ResultSet ( Driver d, int statementId, int numCols ) : System
ResultSet ( int affectedRows, int insertedId ) : System
SetValueObject ( int i, IMySqlValue valueObject ) : void
this ( int index ) : IMySqlValue

Retrieve the value as the given column index

Private Methods

Method Description
GetNextRow ( ) : bool
LoadColumns ( int numCols ) : void

Loads the column metadata for the current resultset

ReadColumnData ( bool outputParms ) : void

Method Details

Close() public method

Closes the current resultset, dumping any data still on the wire
public Close ( ) : void
return void

FieldRead() public method

public FieldRead ( int index ) : bool
index int
return bool

GetOrdinal() public method

return the ordinal for the given column name
public GetOrdinal ( string name ) : int
name string
return int

NextRow() public method

public NextRow ( CommandBehavior behavior ) : bool
behavior CommandBehavior
return bool

ResultSet() public method

public ResultSet ( Driver d, int statementId, int numCols ) : System
d Driver
statementId int
numCols int
return System

ResultSet() public method

public ResultSet ( int affectedRows, int insertedId ) : System
affectedRows int
insertedId int
return System

SetValueObject() public method

public SetValueObject ( int i, IMySqlValue valueObject ) : void
i int
valueObject IMySqlValue
return void

this() public method

Retrieve the value as the given column index
public this ( int index ) : IMySqlValue
index int The column value to retrieve
return IMySqlValue