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