[]
        
(Showing Draft Content)

C1.DataCollection.AdoNet.C1AdoNetCursorDataCollection-1.-ctor

C1AdoNetCursorDataCollection Constructor

C1AdoNetCursorDataCollection(DbConnection, string, IEnumerable<string>?, int)

Initializes a new instance of the C1AdoNetCursorDataCollection<T> class.

Declaration
public C1AdoNetCursorDataCollection(DbConnection connection, string tableName, IEnumerable<string>? fields = null, int pageSize = 50)
Parameters
Type Name Description
DbConnection connection

The connection to the Ado.Net source.

string tableName

The name of the table.

IEnumerable<string> fields

The fields that will be queried.

int pageSize

Size of the page to be fetched.