dbreader class
Description
Provides the function to read data from SQL statement execution results.
Notes
It is a class that is statically included in the Cooker.
An instance returned by variable declaration has not been initialized.
An instance that is used up should be released. Please do not forget to call Release() method.
fitter
Signature | Description |
dbreader() | Returns a new instance of dbreader class. |
getter
Signature | Description |
FieldCount | Returns the number of columns in the result set. |
Fitted | Returns a value that indicates whether this instance was initialized. |
HasRows | Returns a value that indicates whether the result of command execution exists. |
TypeName | Returns the type name. |
setter
This class does not have a setter.
method
Signature | Description |
FieldType(int) | Returns the type of the specified column. |
FieldType(string) | Returns the type of the specified column. |
Get(int) | Returns the value of the specified column. |
Get(string) | Returns the value of the specified column. |
IsDBNull(int) | Returns a value that indicates whether the value is null. |
IsDBNull(string) | Returns a value that indicates whether the value is null. |
IsString(string) | Returns a value that indicates whether the argument is enclosed in double quotes. |
Name(int) | Returns the name of the column. |
Ordinal(string) | Returns the column number. |
Read() | Reads the next line from the result set. |
Receive(int) | Returns the type and the value of the specified column. |
Receive(string) | Returns the type and the value of the specified column. |
Release() | Releases unmanaged resources. |
TrimDQ(string) | Returns a new string with double quotes removed. |