2 writes to _missingSchemaAction
System.Data.Common (2)
System\Data\Merger.cs (2)
26
_missingSchemaAction
= missingSchemaAction == MissingSchemaAction.AddWithKey ?
38
_missingSchemaAction
= missingSchemaAction == MissingSchemaAction.AddWithKey ?
26 references to _missingSchemaAction
System.Data.Common (26)
System\Data\Merger.cs (26)
55
if (MissingSchemaAction.Add ==
_missingSchemaAction
)
73
if (MissingSchemaAction.Ignore !=
_missingSchemaAction
)
85
if (MissingSchemaAction.Add ==
_missingSchemaAction
)
269
Debug.Assert(MissingSchemaAction.Ignore ==
_missingSchemaAction
, "MergeSchema failed");
337
if (MissingSchemaAction.Add ==
_missingSchemaAction
)
344
else if (MissingSchemaAction.Error ==
_missingSchemaAction
)
351
if (MissingSchemaAction.Ignore !=
_missingSchemaAction
)
361
if (MissingSchemaAction.Add ==
_missingSchemaAction
)
370
_dataSet!.RaiseMergeFailed(targetTable, SR.Format(SR.DataMerge_MissingColumnDefinition, table.TableName, src.ColumnName),
_missingSchemaAction
);
420
_dataSet!.RaiseMergeFailed(targetTable, SR.DataMerge_PrimaryKeyMismatch,
_missingSchemaAction
);
431
_missingSchemaAction
);
481
_missingSchemaAction
489
if (MissingSchemaAction.Add ==
_missingSchemaAction
)
503
else if (MissingSchemaAction.Error ==
_missingSchemaAction
)
507
_missingSchemaAction
522
Debug.Assert(MissingSchemaAction.Error ==
_missingSchemaAction
||
523
MissingSchemaAction.Add ==
_missingSchemaAction
,
524
"Unexpected value of MissingSchemaAction parameter : " +
_missingSchemaAction
.ToString());
540
_missingSchemaAction
);
551
_missingSchemaAction
);
561
_missingSchemaAction
);
567
if (MissingSchemaAction.Add ==
_missingSchemaAction
)
594
_dataSet.RaiseMergeFailed(null, e.Message,
_missingSchemaAction
);
600
Debug.Assert(MissingSchemaAction.Error ==
_missingSchemaAction
, $"Unexpected value of MissingSchemaAction parameter : {
_missingSchemaAction
}");
611
if (MissingSchemaAction.Ignore ==
_missingSchemaAction
)