30 references to Element
System.Data.Common (30)
System\Data\DataColumn.cs (10)
47internal MappingType _columnMapping = MappingType.Element; 83public DataColumn() : this(null, typeof(string), null, MappingType.Element) 93public DataColumn(string? columnName) : this(columnName, typeof(string), null, MappingType.Element) 103public DataColumn(string? columnName, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type dataType) : this(columnName, dataType, null, MappingType.Element) 113public DataColumn(string? columnName, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type dataType, string? expr) : this(columnName, dataType, expr, MappingType.Element) 1297[DefaultValue(MappingType.Element)] 1309if (_columnMapping == MappingType.Element) 1337if (value == MappingType.Element) 1341else if (_columnMapping == MappingType.Element) 1622!((mapping != MappingType.Element) && DataStorage.IsTypeCustomType(typeCode));
System\Data\DataColumnCollection.cs (2)
178if (column.ColumnMapping == MappingType.Element) 876if (column.ColumnMapping == MappingType.Element)
System\Data\XDRSchema.cs (1)
454isAttribute ? MappingType.Attribute : MappingType.Element);
System\Data\XMLDiffLoader.cs (1)
324if ((col.ColumnMapping == MappingType.Element) ||
System\Data\xmlsaver.cs (8)
1425string refString = (col.ColumnMapping != MappingType.Element) ? Keywords.XSD_ATTRIBUTE : Keywords.XSD_ELEMENT; 1534if ((col.ColumnMapping == MappingType.Element) && fWriteOrdinal) 1605if (!hasElements && col.ColumnMapping == MappingType.Element) 1804if (col.ColumnMapping == MappingType.Element) 1898if (col.ColumnMapping == MappingType.Attribute || col.ColumnMapping == MappingType.Element || col.ColumnMapping == MappingType.Hidden) 1902bool isAttribute = col.ColumnMapping != MappingType.Element; 2528if ((row.Table.Columns[colNum].ColumnMapping == MappingType.Element) || 2563case MappingType.Element:
System\Data\XMLSchema.cs (4)
967if (dc.ColumnMapping == MappingType.Element) 2441if (column.ColumnMapping != MappingType.Element) 2451column = new DataColumn(columnName, type, null, MappingType.Element); // this is to fix issue with Exception we used to throw for old inference engine if column 2458column = new DataColumn(columnName, type, null, MappingType.Element);
System\Xml\DataSetMappper.cs (1)
174if (node.NodeType == XmlNodeType.Element && mt == MappingType.Element)
System\Xml\XmlDataDocument.cs (1)
686if (col.ColumnMapping == MappingType.Element)
System\Xml\XPathNodePointer.cs (2)
714(int)XPathNodeType.Root => c.ColumnMapping == MappingType.Element, 715(int)XPathNodeType.Element => (c.ColumnMapping == MappingType.Element || c.ColumnMapping == MappingType.SimpleContent),