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