RecroGrid.OnCreateClientRecAsync Method

Creating a record to be sent to the client based on the query result.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.9.0.24.1113.1
C#
protected virtual Task<List<Object>> OnCreateClientRecAsync(
	RecroGrid.RGProperty[] rgs,
	int idx,
	IDataRecord dbDataRec,
	Object[] arrayRec
)

Parameters

rgs  RecroGrid.RGProperty[]
An enumeration of RecroGrid.RGProperty objects that determine the type of objects found in the record.
idx  Int32
The index of the current item in the list to be sent to the client.
dbDataRec  IDataRecord
The data record in case of a database query.
arrayRec  Object[]
The data record in case of unique data handling.

Return Value

Task<List<Object>>
A record of the object to be sent to the client.

See Also