3 instantiations of DataColumnMapping
System.Data (3)
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
78
DataColumnMapping clone = new
DataColumnMapping
(); // MDAC 81448
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (2)
125
return Add(new
DataColumnMapping
(sourceColumn, dataSetColumn));
435
return new
DataColumnMapping
(sourceColumn, sourceColumn);
46 references to DataColumnMapping
System.Data (46)
fx\src\data\System\Data\Common\AdapterUtil.cs (7)
1030
return CollectionNullValue(parameter, typeof(DataColumnMappingCollection), typeof(
DataColumnMapping
));
1033
return CollectionIndexString(typeof(
DataColumnMapping
), ADP.DataSetColumn, cacheColumn, typeof(DataColumnMappingCollection));
1039
return CollectionIndexString(typeof(
DataColumnMapping
), ADP.SourceColumn, srcColumn, typeof(DataColumnMappingCollection));
1042
return ParametersIsNotParent(typeof(
DataColumnMapping
), collection);
1045
return ParametersIsParent(typeof(
DataColumnMapping
), collection);
1048
return CollectionUniqueValue(typeof(
DataColumnMapping
), ADP.SourceColumn, srcColumn);
1051
return CollectionInvalidType(typeof(DataColumnMappingCollection), typeof(
DataColumnMapping
), value);
fx\src\data\System\Data\Common\DataColumnMapping.cs (6)
20
System.ComponentModel.TypeConverterAttribute(typeof(System.Data.Common.
DataColumnMapping
.DataColumnMappingConverter))
78
DataColumnMapping
clone = new DataColumnMapping(); // MDAC 81448
194
if ((typeof(InstanceDescriptor) == destinationType) && (value is
DataColumnMapping
)) {
195
DataColumnMapping
mapping = (
DataColumnMapping
)value;
200
ConstructorInfo ctor = typeof(
DataColumnMapping
).GetConstructor(types);
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (27)
19
private List<
DataColumnMapping
> items; // delay creation until AddWithoutEvents, Insert, CopyTo, GetEnumerator
45
this[index] = (
DataColumnMapping
) value;
56
this[index] = (
DataColumnMapping
) value;
78
get { return typeof(
DataColumnMapping
); }
86
public
DataColumnMapping
this[int index] {
102
public
DataColumnMapping
this[string sourceColumn] {
115
Add((
DataColumnMapping
) value);
119
private
DataColumnMapping
Add(
DataColumnMapping
value) {
124
public
DataColumnMapping
Add(string sourceColumn, string dataSetColumn) {
128
public void AddRange(
DataColumnMapping
[] values) { // V1.0.3300
150
AddWithoutEvents(value.Clone() as
DataColumnMapping
);
154
foreach(
DataColumnMapping
value in values) {
160
private void AddWithoutEvents(
DataColumnMapping
value) {
168
private List<
DataColumnMapping
> ArrayList() {
170
this.items = new List<
DataColumnMapping
>();
183
foreach(
DataColumnMapping
item in items) {
202
public void CopyTo(
DataColumnMapping
[] array, int index) {
206
public
DataColumnMapping
GetByDataSetColumn(string value) {
256
Insert(index, (
DataColumnMapping
) value);
259
public void Insert(int index,
DataColumnMapping
value) {
300
Remove((
DataColumnMapping
) value);
303
public void Remove (
DataColumnMapping
value) {
317
private void Replace(int index,
DataColumnMapping
newValue) {
334
private void Validate(int index,
DataColumnMapping
value) {
391
return
DataColumnMapping
.GetDataColumnBySchemaAction(sourceColumn, sourceColumn, dataTable, dataType, schemaAction);
413
static public
DataColumnMapping
GetColumnMappingBySchemaAction(DataColumnMappingCollection columnMappings, string sourceColumn, MissingMappingAction mappingAction) {
fx\src\data\System\Data\Common\DataTableMapping.cs (5)
36
public DataTableMapping(string sourceTable, string dataSetTable,
DataColumnMapping
[] columnMappings) {
127
public
DataColumnMapping
GetColumnMappingBySchemaAction(string sourceColumn, MissingMappingAction mappingAction) {
210
DataColumnMapping
[] columnMappings = new
DataColumnMapping
[mapping.ColumnMappings.Count];
213
Type[] types = new Type[] { typeof(string), typeof(string), typeof(
DataColumnMapping
[]) };
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
527
dataColumn =
DataColumnMapping
.CreateDataColumnBySchemaAction(_fieldNames[i], _fieldNames[i], _dataTable, fieldType, schemaAction);