QueryResult

Overview

This class is used internally by DA Linq to represent Linq query results while processing them in the LinqDataAdapter or RemoteTable classes.

Please note that you cannot create instances of this class directly, because it is marked as abstract. You can use the EnumerableQueryResult or EnumerableQueryResult classes instead.

For internal use only.

Location


 

constructor  protected

 

constructor

 

QueryResult()

 

Sub New()

Count

Query columns count.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

GetValue

Retrieves the value from the current row of the column with the number i and converts it to aConvertType.

 

method GetValue(i: Int32; convertType: Type): Object

 

Object GetValue(Int32 i, Type convertType)

 

Function GetValue(i As Int32, convertType As Type) As Object

Parameters:

  • i: Number of the column to take the value from
  • convertType:

IsDbNull

Returns whether the field in the specified column is set to null.

 

method IsDbNull(i: Int32): Boolean

 

Boolean IsDbNull(Int32 i)

 

Function IsDbNull(i As Int32) As Boolean

Parameters:

  • i: The index of the field to find

Advances the internal iterator to the next record.

 

method Next: Boolean

 

Boolean Next()

 

Function Next() As Boolean

Reset

Sets the internal iterator to the first record.

 

method Reset

 

void Reset()

 

Sub Reset()

 

Count

Query columns count.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

 

constructor  protected

 

constructor

 

QueryResult()

 

Sub New()

GetValue

Retrieves the value from the current row of the column with the number i and converts it to aConvertType.

 

method GetValue(i: Int32; convertType: Type): Object

 

Object GetValue(Int32 i, Type convertType)

 

Function GetValue(i As Int32, convertType As Type) As Object

Parameters:

  • i: Number of the column to take the value from
  • convertType:

IsDbNull

Returns whether the field in the specified column is set to null.

 

method IsDbNull(i: Int32): Boolean

 

Boolean IsDbNull(Int32 i)

 

Function IsDbNull(i As Int32) As Boolean

Parameters:

  • i: The index of the field to find

Advances the internal iterator to the next record.

 

method Next: Boolean

 

Boolean Next()

 

Function Next() As Boolean

Reset

Sets the internal iterator to the first record.

 

method Reset

 

void Reset()

 

Sub Reset()