Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FillMapping()

SchemaMapping System.Data.Common.DataAdapter.FillMapping ( DataSet dataset,
DataTable datatable,
string srcTable,
DataReaderContainer dataReader,
int schemaCount,
DataColumn parentChapterColumn,
object parentChapterValue )
inlineprivateinherited

Definition at line 641 of file DataAdapter.cs.

642 {
643 SchemaMapping result = null;
645 {
646 try
647 {
648 result = FillMappingInternal(dataset, datatable, srcTable, dataReader, schemaCount, parentChapterColumn, parentChapterValue);
649 }
650 catch (Exception e) when (ADP.IsCatchableExceptionType(e))
651 {
652 ADP.TraceExceptionForCapture(e);
653 OnFillErrorHandler(e, null, null);
654 }
655 }
656 else
657 {
658 result = FillMappingInternal(dataset, datatable, srcTable, dataReader, schemaCount, parentChapterColumn, parentChapterValue);
659 }
660 return result;
661 }
void OnFillErrorHandler(Exception e, DataTable dataTable, object[] dataValues)
SchemaMapping FillMappingInternal(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn parentChapterColumn, object parentChapterValue)

References System.Data.Common.DataAdapter._hasFillErrorHandler, System.Data.Common.DataAdapter.FillMappingInternal(), System.Data.Common.ADP.IsCatchableExceptionType(), System.Data.Common.DataAdapter.OnFillErrorHandler(), and System.Data.Common.ADP.TraceExceptionForCapture().

Referenced by System.Data.Common.DataAdapter.FillFromReader().