CloningQueryResult

Overview

The CloningQueryResult class, a subclass of the QueryResult class, is created to process result items of a query in the LinqDataAdapter and RemoteTable classes. The CloningQueryResult class holds these result in the form of a list.

Normally, you won't need to use this class manually, as it is implemented by Data Abstract's Linq infrastructure.

Location

 

constructor  protected    (declared in QueryResult)

 

constructor

 

CloningQueryResult()

 

Sub New

constructor (List<array of Object>)

Creates a new instance of the CloningQueryResult class with a list of items that represent the result of a query.

 

constructor(Items: List<array of Object>)

 

CloningQueryResult(List<Object[]> Items)

 

Sub New (Items As List<array of Object>)

Parameters:

  • Items: List of items to fill the query result

Count

Gets the number of items in a row of the result list.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

Property ReadOnly Count As Int32

GetValue

 

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

 

Object GetValue(Int32 index, Type convertType)

 

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

Parameters:

  • index:
  • convertType:

IsDbNull

Gets whether the value of the item specified by index number is set.

 

method IsDbNull(i: Int32): Boolean

 

Boolean IsDbNull(Int32 i)

 

Function IsDbNull(i As Int32) As Boolean

Parameters:

  • i: Index number of the field to check

Next

Navigates through the result list of rows and processes the next item in the list. Returns true if the operation was sucessfull.

 

method Next: Boolean

 

Boolean Next()

 

Function Next As Boolean

Reset

Resets the position of a current item in the list.

 

method Reset

 

void Reset()

 

Sub Reset

RowCount

Gets the number of rows in the result list.

 

property RowCount: Int32 read;

 

Int32 RowCount { get; }

 

Property ReadOnly RowCount As Int32

 

Count

Gets the number of items in a row of the result list.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

Property ReadOnly Count As Int32

RowCount

Gets the number of rows in the result list.

 

property RowCount: Int32 read;

 

Int32 RowCount { get; }

 

Property ReadOnly RowCount As Int32

 

constructor  protected    (declared in QueryResult)

 

constructor

 

CloningQueryResult()

 

Sub New

constructor (List<array of Object>)

Creates a new instance of the CloningQueryResult class with a list of items that represent the result of a query.

 

constructor(Items: List<array of Object>)

 

CloningQueryResult(List<Object[]> Items)

 

Sub New (Items As List<array of Object>)

Parameters:

  • Items: List of items to fill the query result

GetValue

 

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

 

Object GetValue(Int32 index, Type convertType)

 

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

Parameters:

  • index:
  • convertType:

IsDbNull

Gets whether the value of the item specified by index number is set.

 

method IsDbNull(i: Int32): Boolean

 

Boolean IsDbNull(Int32 i)

 

Function IsDbNull(i As Int32) As Boolean

Parameters:

  • i: Index number of the field to check

Next

Navigates through the result list of rows and processes the next item in the list. Returns true if the operation was sucessfull.

 

method Next: Boolean

 

Boolean Next()

 

Function Next As Boolean

Reset

Resets the position of a current item in the list.

 

method Reset

 

void Reset()

 

Sub Reset