コード例 #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
 protected virtual Task <DataTable> FillSchemaAsync(DataTable dataTable, SchemaType schemaType, TDbDataReader dataReader, CancellationToken cancellationToken)
 {
     return(AsyncDataReaderMethods.FillSchemaAsync(adapter: this, this.ReturnProviderSpecificTypes, dataTable: dataTable, schemaType, dataReader, cancellationToken));
 }
コード例 #3
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));
        }
コード例 #4
0
        private AdaSchemaMapping FillMapping(DataSet dataset, DataTable datatable, string srcTable, AdaDataReaderContainer dataReader, int schemaCount, DataColumn parentChapterColumn, object parentChapterValue)
        {
            Action <Exception, DataTable, Object[]> onFillError = this.GetCurrentFillErrorHandler();

            return(AsyncDataReaderMethods.FillMapping(onFillError, this, dataset, datatable, srcTable, dataReader, schemaCount, parentChapterColumn, parentChapterValue));
        }
コード例 #5
0
 protected virtual Task <Int32> FillAsync(DataTable[] dataTables, DbDataReader dataReader, int startRecord, int maxRecords, CancellationToken cancellationToken)
 {
     return(AsyncDataReaderMethods.FillAsync(onFillError: null, adapter: this, this.ReturnProviderSpecificTypes, dataTables, dataReader, startRecord, maxRecords: maxRecords, cancellationToken));
 }