49 references to MissingMappingAction
netstandard (1)
netstandard.cs (1)
557
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
MissingMappingAction
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
123
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
MissingMappingAction
))]
System.Data.Common (47)
System\Data\Common\AdapterUtil.Common.cs (5)
160
internal static ArgumentOutOfRangeException InvalidMissingMappingAction(
MissingMappingAction
value)
165
case
MissingMappingAction
.Passthrough:
166
case
MissingMappingAction
.Ignore:
167
case
MissingMappingAction
.Error:
172
return InvalidEnumerationValue(typeof(
MissingMappingAction
), (int)value);
System\Data\Common\DataAdapter.cs (8)
26
private
MissingMappingAction
_missingMappingAction = System.Data.
MissingMappingAction
.Passthrough;
118
[DefaultValue(System.Data.
MissingMappingAction
.Passthrough)]
119
public
MissingMappingAction
MissingMappingAction
126
case
MissingMappingAction
.Passthrough:
127
case
MissingMappingAction
.Ignore:
128
case
MissingMappingAction
.Error:
725
internal DataTableMapping? GetTableMappingBySchemaAction(string sourceTableName, string dataSetTableName,
MissingMappingAction
mappingAction)
System\Data\Common\DataColumnMappingCollection.cs (8)
445
public static DataColumn? GetDataColumn(DataColumnMappingCollection? columnMappings, string sourceColumn, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, DataTable dataTable,
MissingMappingAction
mappingAction, MissingSchemaAction schemaAction)
461
case
MissingMappingAction
.Passthrough:
464
case
MissingMappingAction
.Ignore:
467
case
MissingMappingAction
.Error:
474
public static DataColumnMapping? GetColumnMappingBySchemaAction(DataColumnMappingCollection? columnMappings, string sourceColumn,
MissingMappingAction
mappingAction)
490
case
MissingMappingAction
.Passthrough:
493
case
MissingMappingAction
.Ignore:
496
case
MissingMappingAction
.Error:
System\Data\Common\DataTableMapping.cs (2)
115
public DataColumn? GetDataColumn(string sourceColumn, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, DataTable dataTable,
MissingMappingAction
mappingAction, MissingSchemaAction schemaAction)
121
public DataColumnMapping? GetColumnMappingBySchemaAction(string sourceColumn,
MissingMappingAction
mappingAction)
System\Data\Common\DataTableMappingCollection.cs (4)
381
public static DataTableMapping? GetTableMappingBySchemaAction(DataTableMappingCollection? tableMappings, string sourceTable, string dataSetTable,
MissingMappingAction
mappingAction)
397
case
MissingMappingAction
.Passthrough:
400
case
MissingMappingAction
.Ignore:
403
case
MissingMappingAction
.Error:
System\Data\Common\DBCommandBuilder.cs (1)
312
private
MissingMappingAction
_missingMappingAction;
System\Data\Common\DbDataAdapter.cs (10)
191
private System.Data.
MissingMappingAction
UpdateMappingAction
195
if (System.Data.
MissingMappingAction
.Passthrough == MissingMappingAction)
197
return System.Data.
MissingMappingAction
.Passthrough;
199
return System.Data.
MissingMappingAction
.Error;
724
if (System.Data.
MissingMappingAction
.Error == MissingMappingAction)
751
Data.
MissingMappingAction
missingMapping = UpdateMappingAction;
783
private static void ParameterOutput(IDataParameter parameter, DataRow row, DataTableMapping mappings,
MissingMappingAction
missingMapping, MissingSchemaAction missingSchema)
821
Data.
MissingMappingAction
missingMapping = UpdateMappingAction;
905
if (System.Data.
MissingMappingAction
.Error == MissingMappingAction)
1380
Data.
MissingMappingAction
missingMapping = UpdateMappingAction;
System\Data\IDataAdapter.cs (1)
10
MissingMappingAction
MissingMappingAction { get; set; }
System\Data\ProviderBase\SchemaMapping.cs (8)
93
MissingMappingAction
mappingAction;
114
MissingMappingAction
.Passthrough => new DataTableMapping(_dataTable.TableName, _dataTable.TableName),
115
MissingMappingAction
.Ignore => null,
116
MissingMappingAction
.Error => throw ADP.MissingTableMappingDestination(_dataTable.TableName),
124
mappingAction = System.Data.
MissingMappingAction
.Passthrough;
564
private object[]? SetupSchemaWithoutKeyInfo(
MissingMappingAction
mappingAction, MissingSchemaAction schemaAction, bool gettingData, DataColumn? parentChapterColumn, object? chapterValue)
583
bool alwaysCreateColumns = ((_dataTable.Columns.Count == 0) && ((_tableMapping.ColumnMappings == null) || (_tableMapping.ColumnMappings.Count == 0)) && (mappingAction ==
MissingMappingAction
.Passthrough));
760
private object[]? SetupSchemaWithKeyInfo(
MissingMappingAction
mappingAction, MissingSchemaAction schemaAction, bool gettingData, DataColumn? parentChapterColumn, object? chapterValue)