[]
Initializes a new instance of the C1AdoNetCursorDataCollection class.
[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)
| 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. |