4 writes to missingSchemaAction
System.Data (4)
fx\src\data\System\Data\Merger.cs (4)
33
this.
missingSchemaAction
= MissingSchemaAction.Add;
35
this.
missingSchemaAction
= missingSchemaAction;
45
this.
missingSchemaAction
= MissingSchemaAction.Add;
47
this.
missingSchemaAction
= missingSchemaAction;
26 references to missingSchemaAction
System.Data (26)
fx\src\data\System\Data\Merger.cs (26)
59
if (MissingSchemaAction.Add ==
missingSchemaAction
) {
74
if (MissingSchemaAction.Ignore !=
missingSchemaAction
) {
84
if (MissingSchemaAction.Add ==
missingSchemaAction
) { // for which other options we should add expressions also?
229
Debug.Assert(MissingSchemaAction.Ignore ==
missingSchemaAction
, "MergeSchema failed");
287
if (MissingSchemaAction.Add ==
missingSchemaAction
) {
293
else if (MissingSchemaAction.Error ==
missingSchemaAction
) {
298
if (MissingSchemaAction.Ignore !=
missingSchemaAction
) {
305
if (MissingSchemaAction.Add ==
missingSchemaAction
) {
311
dataSet.RaiseMergeFailed(targetTable, Res.GetString(Res.DataMerge_MissingColumnDefinition, table.TableName, src.ColumnName),
missingSchemaAction
);
352
dataSet.RaiseMergeFailed(targetTable, Res.GetString(Res.DataMerge_PrimaryKeyMismatch),
missingSchemaAction
);
360
missingSchemaAction
401
missingSchemaAction
407
if (MissingSchemaAction.Add ==
missingSchemaAction
) {
418
else if (MissingSchemaAction.Error ==
missingSchemaAction
) {
421
missingSchemaAction
433
Debug.Assert(MissingSchemaAction.Error ==
missingSchemaAction
||
434
MissingSchemaAction.Add ==
missingSchemaAction
,
435
"Unexpected value of MissingSchemaAction parameter : " + ((Enum)
missingSchemaAction
).ToString());
449
missingSchemaAction
459
missingSchemaAction
469
missingSchemaAction
476
if (MissingSchemaAction.Add ==
missingSchemaAction
) {
515
dataSet.RaiseMergeFailed(null, e.Message,
missingSchemaAction
);
519
Debug.Assert(MissingSchemaAction.Error ==
missingSchemaAction
, "Unexpected value of MissingSchemaAction parameter : " + ((Enum)
missingSchemaAction
).ToString());
530
if (MissingSchemaAction.Ignore ==
missingSchemaAction
) {