[]
Initializes a new instance of the C1AdoNetVirtualDataCollection class.
public C1AdoNetVirtualDataCollection(DbConnection connection, string tableName, IEnumerable<string>? fields = null, int maxParallelRequests = 4, int maxActiveRequests = 4, TimeSpan? requestDelay = null)
Public Sub New(connection As DbConnection, tableName As String, Optional fields As IEnumerable(Of String) = Nothing, Optional maxParallelRequests As Integer = 4, Optional maxActiveRequests As Integer = 4, Optional requestDelay As TimeSpan? = Nothing)
| 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 | maxParallelRequests | The maximum parallel requests. |
| int | maxActiveRequests | The maximum active requests. |
| TimeSpan? | requestDelay | The request delay. |