4 writes to ColumnMapping
System.Data.Common (4)
System\Data\DataTable.cs (1)
472
dc.
ColumnMapping
= (MappingType)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), typeof(MappingType))!;
System\Data\ProviderBase\SchemaMapping.cs (1)
1175
targetColumn.
ColumnMapping
= (MappingType)((IConvertible)value).ToInt32(CultureInfo.InvariantCulture);
System\Data\XMLSchema.cs (2)
1503
table.Columns[0].
ColumnMapping
= MappingType.SimpleContent;
2326
column.
ColumnMapping
= MappingType.Hidden;
103 references to ColumnMapping
System.Data.Common (103)
System\Data\DataColumn.cs (3)
545
if (
ColumnMapping
== MappingType.SimpleContent)
925
if (
ColumnMapping
== MappingType.SimpleContent)
1329
RaisePropertyChanging(nameof(
ColumnMapping
));
System\Data\DataColumnCollection.cs (3)
139
if (column != null && column.
ColumnMapping
== MappingType.SimpleContent)
178
if (column.
ColumnMapping
== MappingType.Element)
876
if (column.
ColumnMapping
== MappingType.Element)
System\Data\DataColumnPropertyDescriptor.cs (1)
84
public override bool IsBrowsable => Column.
ColumnMapping
== MappingType.Hidden ? false : base.IsBrowsable;
System\Data\DataRelation.cs (2)
491
if (!value && (_parentKey.ColumnsReference[0].
ColumnMapping
== MappingType.Hidden))
814
if (col.
ColumnMapping
!= MappingType.Hidden)
System\Data\DataTable.cs (2)
388
info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].
ColumnMapping
);
2099
Debug.Assert(value.
ColumnMapping
== MappingType.SimpleContent, "should be text node here");
System\Data\DataTableReader.cs (1)
840
dr[ColumnMapping] = dc.
ColumnMapping
;
System\Data\XDRSchema.cs (1)
370
if (column.
ColumnMapping
== MappingType.Attribute)
System\Data\XmlDataLoader.cs (8)
281
if (c.
ColumnMapping
!= MappingType.SimpleContent)
419
if (c.Table == row.Table && c.
ColumnMapping
!= MappingType.Attribute && foundColumns[c] == null)
460
if (c.
ColumnMapping
== MappingType.Attribute && foundColumns[c] == null)
726
if ((c != null) && (c.
ColumnMapping
== MappingType.Attribute))
832
if (c.AllowDBNull && c.
ColumnMapping
!= MappingType.Hidden && !c.AutoIncrement)
908
if ((c != null) && (c.
ColumnMapping
== MappingType.Attribute))
949
if ((c != null) && (c.
ColumnMapping
== MappingType.Hidden))
1100
if (c.AllowDBNull && c.
ColumnMapping
!= MappingType.Hidden && !c.AutoIncrement)
System\Data\XMLDiffLoader.cs (3)
329
if ((col.
ColumnMapping
== MappingType.Element) ||
330
(col.
ColumnMapping
== MappingType.SimpleContent))
333
if (col.
ColumnMapping
== MappingType.Hidden)
System\Data\xmlsaver.cs (35)
1246
if (col.
ColumnMapping
== MappingType.SimpleContent)
1332
if (col.
ColumnMapping
== MappingType.Attribute)
1431
Debug.Assert(col.
ColumnMapping
!= MappingType.SimpleContent, "Illegal state");
1433
string refString = (col.
ColumnMapping
!= MappingType.Element) ? Keywords.XSD_ATTRIBUTE : Keywords.XSD_ELEMENT;
1458
if (col.
ColumnMapping
== MappingType.Hidden)
1474
if ((!col.DefaultValueIsNull) && (col.
ColumnMapping
!= MappingType.Hidden))
1477
if (col.
ColumnMapping
== MappingType.Attribute && !col.AllowDBNull)
1530
if (col.
ColumnMapping
== MappingType.Attribute && minOccurs != 0)
1534
if (col.
ColumnMapping
== MappingType.Hidden)
1539
if (col.
ColumnMapping
!= MappingType.Attribute && minOccurs != 1)
1542
if ((col.
ColumnMapping
== MappingType.Element) && fWriteOrdinal)
1614
if (!hasElements && col.
ColumnMapping
== MappingType.Element)
1616
if (!hasAttributes && (col.
ColumnMapping
== MappingType.Attribute || col.
ColumnMapping
== MappingType.Hidden))
1628
if (col.
ColumnMapping
!= MappingType.Hidden)
1804
if (col.
ColumnMapping
== MappingType.Hidden)
1814
if (col.
ColumnMapping
== MappingType.Element)
1905
if (col.
ColumnMapping
== MappingType.SimpleContent)
1908
if (col.
ColumnMapping
== MappingType.Attribute || col.
ColumnMapping
== MappingType.Element || col.
ColumnMapping
== MappingType.Hidden)
1912
bool isAttribute = col.
ColumnMapping
!= MappingType.Element;
2054
if ((fields[k].
ColumnMapping
== MappingType.Attribute) || (fields[k].
ColumnMapping
== MappingType.Hidden))
2122
if ((fields[k].
ColumnMapping
== MappingType.Attribute) || (fields[k].
ColumnMapping
== MappingType.Hidden))
2206
if ((fields[k].
ColumnMapping
== MappingType.Attribute) || (fields[k].
ColumnMapping
== MappingType.Hidden))
2536
if ((row.Table.Columns[colNum].
ColumnMapping
== MappingType.Attribute) ||
2537
(row.Table.Columns[colNum].
ColumnMapping
== MappingType.Hidden))
2542
if ((row.Table.Columns[colNum].
ColumnMapping
== MappingType.Element) ||
2543
(row.Table.Columns[colNum].
ColumnMapping
== MappingType.SimpleContent))
2558
if (col.
ColumnMapping
== MappingType.SimpleContent)
2564
switch (col.
ColumnMapping
)
3008
if (((value == DBNull.Value) || (col.ImplementsINullable && DataStorage.IsObjectSqlNull(value))) && (col.
ColumnMapping
== MappingType.SimpleContent))
System\Data\XMLSchema.cs (6)
970
if (dc.
ColumnMapping
== MappingType.Element)
1191
bool _attribute = (col.
ColumnMapping
== MappingType.Attribute) || (col.
ColumnMapping
== MappingType.Hidden);
1733
if (dc.
ColumnMapping
== MappingType.Attribute)
2267
if (column.
ColumnMapping
!= MappingType.Attribute)
2453
if (column.
ColumnMapping
!= MappingType.Element)
System\Data\XmlToDatasetMap.cs (1)
140
return (c.
ColumnMapping
!= MappingType.Hidden);
System\Xml\DataPointer.cs (8)
131
if (!_doc.IsNotMapped(c) && (c.
ColumnMapping
== MappingType.Attribute) == fAttribute && (fNulls || !Convert.IsDBNull(row[c, rowVersion])))
262
if (_column.
ColumnMapping
!= MappingType.Attribute)
289
if (_fOnValue || _doc.IsTextOnly(_column) || _column.
ColumnMapping
!= MappingType.Attribute)
347
if ((_column == null || _column.
ColumnMapping
== MappingType.Attribute) && _node.NodeType == XmlNodeType.Element)
390
else if (_column.
ColumnMapping
== MappingType.Attribute)
568
else if (_column.
ColumnMapping
== MappingType.Attribute || _fOnValue)
662
if (_column!.
ColumnMapping
== MappingType.Attribute)
856
Debug.Assert((_column.
ColumnMapping
== MappingType.SimpleContent) ? _fOnValue : true);
System\Xml\DataSetMappper.cs (2)
167
MappingType mt = col.
ColumnMapping
;
197
internal static bool IsNotMapped(DataColumn c) => c.
ColumnMapping
== MappingType.Hidden;
System\Xml\XmlDataDocument.cs (10)
370
if (col.
ColumnMapping
!= MappingType.Hidden)
680
if (col.
ColumnMapping
== MappingType.Attribute)
687
if (col.
ColumnMapping
== MappingType.Element)
707
Debug.Assert(col.
ColumnMapping
== MappingType.SimpleContent);
723
if (col.
ColumnMapping
== MappingType.SimpleContent)
1133
return c.
ColumnMapping
== MappingType.SimpleContent;
1413
if (col.
ColumnMapping
== MappingType.SimpleContent && Convert.IsDBNull(value) && !rowElement.IsFoliated)
1483
if (col.
ColumnMapping
== MappingType.Attribute)
2139
if (c.
ColumnMapping
!= MappingType.Hidden)
2379
Debug.Assert(col.
ColumnMapping
!= MappingType.Hidden);
System\Xml\XPathNodePointer.cs (17)
161
else if (_column.
ColumnMapping
== MappingType.Attribute)
326
else if (_column.
ColumnMapping
== MappingType.Attribute || _fOnValue)
555
if (!_doc.IsNotMapped(c) && (c.
ColumnMapping
== MappingType.Attribute) == fAttribute && !Convert.IsDBNull(row[c, rowVersion]))
575
if (!_doc.IsNotMapped(c) && (c.
ColumnMapping
== MappingType.Attribute) == fAttribute && !Convert.IsDBNull(row[c, rowVersion]))
592
if ((_column == null || _column.
ColumnMapping
== MappingType.Attribute) && _node.NodeType == XmlNodeType.Element)
631
if (_column != null && _column.
ColumnMapping
!= MappingType.Attribute)
716
(int)XPathNodeType.Root => c.
ColumnMapping
== MappingType.Element,
717
(int)XPathNodeType.Element => (c.
ColumnMapping
== MappingType.Element || c.
ColumnMapping
== MappingType.SimpleContent),
733
Debug.Assert(_column.
ColumnMapping
!= MappingType.Attribute && _column.
ColumnMapping
!= MappingType.Hidden);
898
if (_column.
ColumnMapping
== MappingType.Attribute || _column.
ColumnMapping
== MappingType.Hidden)
936
if (_column.
ColumnMapping
== MappingType.Attribute || _column.
ColumnMapping
== MappingType.Hidden)
1291
if (_column.
ColumnMapping
== MappingType.Attribute)
1664
Debug.Assert((_column.
ColumnMapping
== MappingType.SimpleContent) ? _fOnValue : true);