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

◆ Merge() [2/7]

void System.Data.DataSet.Merge ( DataRow[] rows,
bool preserveChanges,
MissingSchemaAction missingSchemaAction )
inline

Definition at line 2555 of file DataSet.cs.

2556 {
2557 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataSet.Merge|API> {0}, preserveChanges={1}, missingSchemaAction={2}", ObjectID, preserveChanges, missingSchemaAction);
2558 try
2559 {
2560 if (rows == null)
2561 {
2562 throw ExceptionBuilder.ArgumentNull("rows");
2563 }
2564 if ((uint)(missingSchemaAction - 1) <= 3u)
2565 {
2566 Merger merger = new Merger(this, preserveChanges, missingSchemaAction);
2567 merger.MergeRows(rows);
2568 return;
2569 }
2571 }
2572 finally
2573 {
2574 DataCommonEventSource.Log.ExitScope(scopeId);
2575 }
2576 }
static ArgumentOutOfRangeException InvalidMissingSchemaAction(MissingSchemaAction value)
Definition ADP.cs:134

References System.Data.ExceptionBuilder.ArgumentNull(), System.Data.Common.ADP.InvalidMissingSchemaAction(), System.Data.DataCommonEventSource.Log, and System.Data.DataSet.ObjectID.