[]
        
(Showing Draft Content)

C1.DataCollection.AdoNet.C1AdoNetCursorDataCollection.-ctor

C1AdoNetCursorDataCollection Constructor

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

Initializes a new instance of the C1AdoNetCursorDataCollection class.

Declaration
[RequiresDynamicCode("This class requires emitting a new class for the items. Use base class which takes a generic parameter instead.")]
public C1AdoNetCursorDataCollection(DbConnection connection, string tableName, IEnumerable<string>? fields = null, int pageSize = 50)
<RequiresDynamicCode("This class requires emitting a new class for the items. Use base class which takes a generic parameter instead.")>
Public Sub New(connection As DbConnection, tableName As String, Optional fields As IEnumerable(Of String) = Nothing, Optional pageSize As Integer = 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.