Skip to main content
Version: 4.2

IWisejDataStore

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.2.0.0)

All wisej data stores implement this interface.

public interface IWisejDataStore

The operations exposed by this type include OnDataRead, OnDataCount.

Methods​

Instance member OnDataCount()​

Returns the number of available records.

Returns: Int32. The total number of rows.

Instance member OnDataRead(data)​

Returns a data object.

ParameterTypeDescription
dataObjectRequest parameters. The parameters depend on the data consumer. For example, the DataGridView control uses: first, last, sortIndex, and sortDirection("asc" or "desc").

Returns: Object. An object that contains the data requested by the component.

Implemented By​

NameDescription
DataGridViewRepresents a data grid control.
ListViewRepresents the list view.