コード例 #1
0
        //

        internal Task <Int32> FillFromReaderAsync(DataSet dataset, DataTable datatable, string srcTable, AdaDataReaderContainer dataReader, int startRecord, int maxRecords, DataColumn parentChapterColumn, object parentChapterValue, CancellationToken cancellationToken)
        {
            return(AsyncDataReaderMethods.FillFromReaderAsync(
                       onFillError: null,
                       adapter: this,
                       dataset: dataset,
                       datatable: datatable,
                       srcTable: srcTable,
                       dataReader: dataReader,
                       startRecord: startRecord,
                       maxRecords: maxRecords,
                       parentChapterColumn: parentChapterColumn,
                       parentChapterValue: parentChapterValue,
                       cancellationToken: cancellationToken
                       ));
        }
コード例 #2
0
        Task <int> IAdaSchemaMappingAdapter.FillFromReaderAsync(DataSet dataset, DataTable datatable, string srcTable, AdaDataReaderContainer dataReader, int startRecord, int maxRecords, DataColumn parentChapterColumn, object parentChapterValue, CancellationToken cancellationToken)
        {
            Action <Exception, DataTable, Object[]> onFillError = this.GetCurrentFillErrorHandler();

            return(AsyncDataReaderMethods.FillFromReaderAsync(onFillError, this, dataset, datatable, srcTable, dataReader, startRecord, maxRecords, parentChapterColumn, parentChapterValue, cancellationToken));
        }