3 instantiations of DataColumnMapping
System.Data.Common (3)
System\Data\Common\DataColumnMapping.cs (1)
67
DataColumnMapping clone = new
DataColumnMapping
();
System\Data\Common\DataColumnMappingCollection.cs (2)
136
return Add(new
DataColumnMapping
(sourceColumn, dataSetColumn));
491
return new
DataColumnMapping
(sourceColumn, sourceColumn);
47 references to DataColumnMapping
netstandard (1)
netstandard.cs (1)
449
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DataColumnMapping
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
21
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DataColumnMapping
))]
System.Data.Common (45)
System\Data\Common\AdapterUtil.Common.cs (7)
360
return CollectionNullValue(parameter, typeof(DataColumnMappingCollection), typeof(
DataColumnMapping
));
364
return CollectionIndexString(typeof(
DataColumnMapping
), ADP.DataSetColumn, cacheColumn, typeof(DataColumnMappingCollection));
372
return CollectionIndexString(typeof(
DataColumnMapping
), ADP.SourceColumn, srcColumn, typeof(DataColumnMappingCollection));
376
return ParametersIsNotParent(typeof(
DataColumnMapping
), collection);
380
return ParametersIsParent(typeof(
DataColumnMapping
), collection);
384
return CollectionUniqueValue(typeof(
DataColumnMapping
), ADP.SourceColumn, srcColumn);
388
return CollectionInvalidType(typeof(DataColumnMappingCollection), typeof(
DataColumnMapping
), value);
System\Data\Common\DataColumnMapping.cs (5)
67
DataColumnMapping
clone = new DataColumnMapping();
166
if ((typeof(InstanceDescriptor) == destinationType) && (value is
DataColumnMapping
))
168
DataColumnMapping
mapping = (
DataColumnMapping
)value;
173
ConstructorInfo ctor = typeof(
DataColumnMapping
).GetConstructor(types)!;
System\Data\Common\DataColumnMappingCollection.cs (27)
14
private List<
DataColumnMapping
>? _items; // delay creation until AddWithoutEvents, Insert, CopyTo, GetEnumerator
48
this[index] = (
DataColumnMapping
)value;
62
this[index] = (
DataColumnMapping
)value;
86
get { return typeof(
DataColumnMapping
); }
91
public
DataColumnMapping
this[int index]
107
public
DataColumnMapping
this[string sourceColumn]
124
Add((
DataColumnMapping
)value);
128
private
DataColumnMapping
Add(
DataColumnMapping
value)
134
public
DataColumnMapping
Add(string? sourceColumn, string? dataSetColumn)
139
public void AddRange(
DataColumnMapping
[] values)
168
AddWithoutEvents(value.Clone() as
DataColumnMapping
);
173
foreach (
DataColumnMapping
value in values)
180
private void AddWithoutEvents([NotNull]
DataColumnMapping
? value)
189
private List<
DataColumnMapping
> ArrayList()
193
_items = new List<
DataColumnMapping
>();
210
foreach (
DataColumnMapping
item in _items)
233
public void CopyTo(
DataColumnMapping
[] array, int index)
238
public
DataColumnMapping
GetByDataSetColumn(string value)
304
Insert(index, (
DataColumnMapping
)value);
307
public void Insert(int index,
DataColumnMapping
value)
358
Remove((
DataColumnMapping
)value);
361
public void Remove(
DataColumnMapping
value)
379
private void Replace(int index,
DataColumnMapping
newValue)
400
private void Validate(int index, [NotNull]
DataColumnMapping
? value)
462
return
DataColumnMapping
.GetDataColumnBySchemaAction(sourceColumn, sourceColumn, dataTable, dataType, schemaAction);
474
public static
DataColumnMapping
? GetColumnMappingBySchemaAction(DataColumnMappingCollection? columnMappings, string sourceColumn, MissingMappingAction mappingAction)
System\Data\Common\DataTableMapping.cs (5)
31
public DataTableMapping(string? sourceTable, string? dataSetTable,
DataColumnMapping
[]? columnMappings)
121
public
DataColumnMapping
? GetColumnMappingBySchemaAction(string sourceColumn, MissingMappingAction mappingAction)
192
DataColumnMapping
[] columnMappings = new
DataColumnMapping
[mapping.ColumnMappings.Count];
195
Type[] types = new Type[] { typeof(string), typeof(string), typeof(
DataColumnMapping
[]) };
System\Data\ProviderBase\SchemaMapping.cs (1)
626
dataColumn =
DataColumnMapping
.CreateDataColumnBySchemaAction(_fieldNames[i], _fieldNames[i], _dataTable, fieldType, schemaAction);