Name
MappingType
Synopsis
This enumeration specifies the
DataColumn.ColumnMapping
property, which
determines how a column’s value is written when the
DataSet.WriteXml( )
method is called. Each column
can be mapped to an element (Element
), which is
the default; an attribute of the row element
(Attribute
); omitted (Hidden
); or set to a text node within the element
(SimpleContent
). There can be only one
SimpleContent
column in a table.
public enum MappingType { Element = 1, Attribute = 2, SimpleContent = 3, Hidden = 4 }
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)
→
MappingType
Returned By
DataColumn.ColumnMapping
Passed To
DataColumn.{ColumnMapping
, DataColumn( )}
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.