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<array of 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; }

 

ReadOnly Property Count() As Int32

GetValue (Int32, Type): Object    (declared in QueryResult)

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:

GetValue (Int32, Type): Object

 

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

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; }

 

ReadOnly Property RowCount() As Int32

 

Count

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

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

RowCount

Gets the number of rows in the result list.

 

property RowCount: Int32 read;

 

Int32 RowCount { get; }

 

ReadOnly Property 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<array of Object> Items)

 

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

Parameters:

  • Items: List of items to fill the query result

GetValue (Int32, Type): Object    (declared in QueryResult)

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:

GetValue (Int32, Type): Object

 

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

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()