UL Ext: Represents an editable result set in an UltraLite database.
Public Class ULResultSet Inherits ULDataReader
public class ULResultSet : ULDataReader
All members of ULResultSet class, including all inherited members.
Name | Description |
---|---|
Appends the specified subset of the specified array of System.Bytes to the new value for the specified ULDbType.LongBinary column. | |
Appends the specified subset of the specified array of System.Chars to the new value for the specified ULDbType.LongVarchar column. | |
Closes the cursor. | |
Deletes the current row. | |
Dispose method (Inherited from System.Data.Common.DbDataReader) |
Releases all resources used by the current instance of the System.Data.Common.DbDataReader class. |
Returns the value for the specified column as a System.Boolean. | |
Returns the value for the specified column as an unsigned 8-bit value (System.Byte). | |
UL Ext: Returns the value for the specified column as an array of System.Bytes. | |
This method is not supported in UltraLite.NET. | |
Copies a subset of the value for the specified ULDbType.LongVarchar column, beginning at the specified offset, to the specified offset of the destination System.Char array. | |
GetData method (Inherited from System.Data.Common.DbDataReader) |
Returns a System.Data.Common.DbDataReader object for the requested column ordinal. |
Returns the name of the specified column's provider data type. | |
Returns the value for the specified column as a System.DateTime with millisecond accuracy. | |
GetDbDataReader method (Inherited from System.Data.Common.DbDataReader) |
Returns a System.Data.Common.DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation. |
Returns the value for the specified column as a System.Decimal. | |
Returns the value for the specified column as a System.Double. | |
Returns an System.Collections.IEnumerator that iterates through the ULDataReader. | |
Returns the System.Type most appropriate for the specified column. | |
Returns the value for the specified column as a System.Single. | |
Returns the value for the specified column as a UUID (System.Guid). | |
Returns the value for the specified column as a System.Int16. | |
Returns the value for the specified column as an Int32. | |
Returns the value for the specified column as an Int64. | |
Returns the name of the specified column. | |
Returns the column ID of the named column. | |
GetProviderSpecificFieldType method (Inherited from System.Data.Common.DbDataReader) |
Returns the provider-specific field type of the specified column. |
GetProviderSpecificValue method (Inherited from System.Data.Common.DbDataReader) |
Gets the value of the specified column as an instance of System.Object. |
GetProviderSpecificValues method (Inherited from System.Data.Common.DbDataReader) |
Gets all provider-specific attribute columns in the collection for the current row. |
UL Ext: Returns the number of rows in the cursor, within threshold. | |
Returns a System.Data.DataTable that describes the column metadata of the ULDataReader. | |
Returns the value for the specified column as a System.String. | |
Returns the value for the specified column as a System.TimeSpan with millisecond accuracy. | |
Returns the value for the specified column as a System.UInt16. | |
Returns the value for the specified column as a UInt32. | |
Returns the value for the specified column as a System.UInt64. | |
Returns the value of the specified column in its native format. | |
Returns all the column values for the current row. | |
Checks whether the value from the specified column is NULL. | |
UL Ext: Positions the cursor to after the last row of the cursor. | |
UL Ext: Positions the cursor to before the first row of the cursor. | |
UL Ext: Positions the cursor to the first row of the cursor. | |
UL Ext: Positions the cursor to the last row of the cursor. | |
UL Ext: Positions the cursor to the next row or after the last row if the cursor was already on the last row. | |
UL Ext: Positions the cursor to the previous row or before the first row. | |
UL Ext: Positions the cursor relative to the current row. | |
Advances the ULDataReader to the next result when reading the results of batch SQL statements. | |
Positions the cursor to the next row, or after the last row if the cursor was already on the last row. | |
Sets the value for the specified column using a System.Boolean. | |
Sets the value for the specified column using a System.Byte (unsigned 8-bit integer). | |
Sets the value for the specified column using an array of System.Bytes. | |
Sets the value for the specified column using a System.DateTime. | |
Sets a column to NULL. | |
Sets the value for the specified column using a System.Decimal. | |
Sets the value for the specified column using a System.Double. | |
Sets the value for the specified column using a System.Single. | |
Sets the value for the specified column using a System.Guid. | |
Sets the value for the specified column using an System.Int16. | |
Sets the value for the specified column using an System.Int32. | |
Sets the value for the specified column using an Int64. | |
Sets the value for the specified column using a System.String. | |
Sets the value for the specified column using a System.TimeSpan. | |
Sets the value for the specified column to its default value. | |
Sets the value for the specified column using a System.UInt16. | |
Sets the value for the specified column using an System.UInt32. | |
Sets the value for the specified column using a System.UInt64. | |
Updates the current row with the current column values (specified using the set methods). | |
Prepares to update the current row. | |
Returns the depth of nesting for the current row. | |
Returns the number of columns in the cursor. | |
Checks whether the ULDataReader has one or more rows. | |
UL Ext: Checks whether the current row position is before the first row. | |
Checks whether the cursor is currently open. | |
UL Ext: Checks whether the current row position is after the last row. | |
Returns the number of rows changed, inserted, or deleted by execution of the SQL statement. | |
UL Ext: Returns the number of rows in the cursor. | |
UL Ext: Holds the schema of this cursor. | |
Returns the value of the specified column in its native format. | |
VisibleFieldCount property (Inherited from System.Data.Common.DbDataReader) |
Gets the number of fields in the System.Data.Common.DbDataReader that are not hidden. |
There is no constructor for this class. ResultSets are created using the ULCommand.ExecuteResultSet() method of the ULCommand class.
' Visual Basic Dim cmd As ULCommand = new ULCommand( _ "SELECT emp_id FROM employee", conn _ ) Dim resultSet As ULResultSet = cmd.ExecuteResultSet() |
The following code is the C# language equivalent:
// C# ULCommand cmd = new ULCommand( "SELECT emp_id FROM employee", conn ); ULResultSet resultSet = cmd.ExecuteResultSet(); |
A ULResultSet object represents an editable result set on which you can perform positioned updates and deletes. For fully editable result sets, use ULCommand.ExecuteTable() or a ULDataAdapter.
AppendBytes method
AppendChars method
Delete method
SetBoolean method
SetByte method
SetBytes method
SetDateTime method
SetDBNull method
SetDecimal method
SetDouble method
SetFloat method
SetGuid method
SetInt16 method
SetInt32 method
SetInt64 method
SetString method
SetTimeSpan method
SetToDefault method
SetUInt16 method
SetUInt32 method
SetUInt64 method
Update method
UpdateBegin method
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |