4 writes to ColumnMapping
System.Data (4)
fx\src\data\System\Data\DataTable.cs (1)
435
dc.
ColumnMapping
= (MappingType) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), typeof(MappingType));
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
1008
targetColumn.
ColumnMapping
= (MappingType)((IConvertible)value).ToInt32(CultureInfo.InvariantCulture);
fx\src\data\System\Data\XMLSchema.cs (2)
1288
table.Columns[0].
ColumnMapping
= MappingType.SimpleContent;
2012
column.
ColumnMapping
= MappingType.Hidden;
108 references to ColumnMapping
System.Data (108)
fx\src\data\System\Data\CodeGen\datacache.cs (5)
507
if(index[i].
ColumnMapping
!= MappingType.Hidden) {
582
(column.
ColumnMapping
== MappingType.SimpleContent) ? "SimpleContent" :
583
(column.
ColumnMapping
== MappingType.Attribute ) ? "Attribute" :
584
(column.
ColumnMapping
== MappingType.Hidden ) ? "Hidden" :
775
if(col.
ColumnMapping
!= MappingType.Hidden) {
fx\src\data\System\Data\DataColumn.cs (2)
580
if (this.
ColumnMapping
== MappingType.SimpleContent)
949
if (this.
ColumnMapping
== MappingType.SimpleContent) {
fx\src\data\System\Data\DataColumnCollection.cs (3)
144
if (column != null && column.
ColumnMapping
== MappingType.SimpleContent) {
166
if (column.
ColumnMapping
== MappingType.Element)
795
if (column.
ColumnMapping
== MappingType.Element)
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
102
return (column.
ColumnMapping
== System.Data.MappingType.Hidden ? false : base.IsBrowsable);
fx\src\data\System\Data\DataRelation.cs (2)
490
if (!value && (parentKey.ColumnsReference[0].
ColumnMapping
== MappingType.Hidden))
780
if (col.
ColumnMapping
!= MappingType.Hidden)
fx\src\data\System\Data\DataTable.cs (2)
354
info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].
ColumnMapping
);
1948
Debug.Assert(value.
ColumnMapping
== MappingType.SimpleContent, "should be text node here");
fx\src\data\System\Data\DataTableReader.cs (1)
714
dr[ColumnMapping] = dc.
ColumnMapping
;
fx\src\data\System\Data\XDRSchema.cs (1)
341
if (column.
ColumnMapping
== MappingType.Attribute) {
fx\src\data\System\Data\XmlDataLoader.cs (9)
264
if (c.
ColumnMapping
!= MappingType.SimpleContent)
383
if (c.Table == row.Table && c.
ColumnMapping
!= MappingType.Attribute && foundColumns[c] == null) {
420
if (c.
ColumnMapping
== MappingType.Attribute && foundColumns[c] == null) {
518
if (c.
ColumnMapping
== MappingType.Attribute) {
691
if ((c != null) && (c.
ColumnMapping
== MappingType.Attribute)) {
784
if (c.AllowDBNull && c.
ColumnMapping
!= MappingType.Hidden && !c.AutoIncrement) {
855
if ((c != null) && (c.
ColumnMapping
== MappingType.Attribute)) {
903
if (( c != null) && (c.
ColumnMapping
== MappingType.Hidden)) {
1034
if (c.AllowDBNull && c.
ColumnMapping
!= MappingType.Hidden && !c.AutoIncrement) {
fx\src\data\System\Data\XMLDiffLoader.cs (3)
304
if ((col.
ColumnMapping
== MappingType.Element) ||
305
(col.
ColumnMapping
== MappingType.SimpleContent))
308
if (col.
ColumnMapping
== MappingType.Hidden) {
fx\src\data\System\Data\xmlsaver.cs (35)
1050
if (col.
ColumnMapping
== MappingType.SimpleContent)
1122
if (col.
ColumnMapping
== MappingType.Attribute) {
1204
Debug.Assert(col.
ColumnMapping
!= MappingType.SimpleContent , "Illegal state");
1206
String refString = (col.
ColumnMapping
!= MappingType.Element) ? Keywords.XSD_ATTRIBUTE : Keywords.XSD_ELEMENT;
1229
if (col.
ColumnMapping
== MappingType.Hidden) { // CDT / UDT can not be mapped to Hidden column
1244
if ((!col.DefaultValueIsNull)&& (col.
ColumnMapping
!= MappingType.Hidden)){
1246
if (col.
ColumnMapping
== MappingType.Attribute && !col.AllowDBNull ) {
1292
if (col.
ColumnMapping
== MappingType.Attribute && minOccurs != 0)
1296
if (col.
ColumnMapping
== MappingType.Hidden) {
1300
if (col.
ColumnMapping
!= MappingType.Attribute && minOccurs != 1)
1303
if ((col.
ColumnMapping
== MappingType.Element) && fWriteOrdinal)
1366
if (!hasElements && col.
ColumnMapping
== MappingType.Element)
1368
if (!hasAttributes && (col.
ColumnMapping
== MappingType.Attribute || col.
ColumnMapping
== MappingType.Hidden))
1379
if (col.
ColumnMapping
!= MappingType.Hidden)
1535
if (col.
ColumnMapping
== MappingType.Hidden) {
1543
if (col.
ColumnMapping
== MappingType.Element)
1628
if (col.
ColumnMapping
== MappingType.SimpleContent)
1631
if (col.
ColumnMapping
== MappingType.Attribute || col.
ColumnMapping
== MappingType.Element || col.
ColumnMapping
== MappingType.Hidden ) {
1634
bool isAttribute = col.
ColumnMapping
!= MappingType.Element;
1766
if ((fields[k].
ColumnMapping
== MappingType.Attribute) || (fields[k].
ColumnMapping
== MappingType.Hidden)) {
1825
if ((fields[k].
ColumnMapping
== MappingType.Attribute) || (fields[k].
ColumnMapping
== MappingType.Hidden)) {
1899
if ((fields[k].
ColumnMapping
== MappingType.Attribute) || (fields[k].
ColumnMapping
== MappingType.Hidden)) {
2194
if ((row.Table.Columns[colNum].
ColumnMapping
== MappingType.Attribute) ||
2195
(row.Table.Columns[colNum].
ColumnMapping
== MappingType.Hidden))
2199
if ((row.Table.Columns[colNum].
ColumnMapping
== MappingType.Element) ||
2200
(row.Table.Columns[colNum].
ColumnMapping
== MappingType.SimpleContent))
2211
if (col.
ColumnMapping
== MappingType.SimpleContent)
2217
switch (col.
ColumnMapping
) {
2600
if (((value == DBNull.Value) || (col.ImplementsINullable && DataStorage.IsObjectSqlNull(value))) && (col.
ColumnMapping
== MappingType.SimpleContent))
fx\src\data\System\Data\XMLSchema.cs (6)
826
if (dc.
ColumnMapping
== MappingType.Element)
1005
bool _attribute = (col.
ColumnMapping
== MappingType.Attribute) || (col.
ColumnMapping
== MappingType.Hidden);
1493
if (dc.
ColumnMapping
== MappingType.Attribute) {
1960
if (column.
ColumnMapping
!= MappingType.Attribute)
2120
if (column.
ColumnMapping
!= MappingType.Element)
fx\src\data\System\Data\XmlToDatasetMap.cs (1)
125
return (c.
ColumnMapping
!= MappingType.Hidden);
fx\src\data\System\NewXml\DataPointer.cs (8)
125
if (!doc.IsNotMapped( c ) && (c.
ColumnMapping
== MappingType.Attribute) == fAttribute && (fNulls || ! Convert.IsDBNull( row[c, rowVersion] ) ) )
226
if (column.
ColumnMapping
!= MappingType.Attribute) {
247
if (fOnValue || doc.IsTextOnly(column) || column.
ColumnMapping
!= MappingType.Attribute)
289
if ((column == null || column.
ColumnMapping
== MappingType.Attribute) && node.NodeType == XmlNodeType.Element) {
322
else if (this.column.
ColumnMapping
== MappingType.Attribute) {
459
else if (this.column.
ColumnMapping
== MappingType.Attribute || this.fOnValue) {
534
if (column.
ColumnMapping
== MappingType.Attribute) {
683
Debug.Assert( (this.column.
ColumnMapping
== MappingType.SimpleContent) ? (this.fOnValue == true) : true );
fx\src\data\System\NewXml\DataSetMappper.cs (2)
144
MappingType mt = col.
ColumnMapping
;
174
return c.
ColumnMapping
== MappingType.Hidden;
fx\src\data\System\NewXml\XmlDataDocument.cs (10)
342
if ( col.
ColumnMapping
!= MappingType.Hidden )
618
if ( col.
ColumnMapping
== MappingType.Attribute ) {
623
if ( col.
ColumnMapping
== MappingType.Element ) {
638
Debug.Assert( col.
ColumnMapping
== MappingType.SimpleContent );
650
if ( col.
ColumnMapping
== MappingType.SimpleContent ) {
1020
return c.
ColumnMapping
== MappingType.SimpleContent;
1273
if ( col.
ColumnMapping
== MappingType.SimpleContent && Convert.IsDBNull( value ) && !rowElement.IsFoliated )
1332
if (col.
ColumnMapping
== MappingType.Attribute) {
1925
if ( c.
ColumnMapping
!= MappingType.Hidden )
2140
Debug.Assert( col.
ColumnMapping
!= MappingType.Hidden );
fx\src\data\System\NewXml\XPathNodePointer.cs (17)
161
else if (this._column.
ColumnMapping
== MappingType.Attribute) {
296
else if (this._column.
ColumnMapping
== MappingType.Attribute || this._fOnValue) {
520
if (!_doc.IsNotMapped( c ) && (c.
ColumnMapping
== MappingType.Attribute) == fAttribute && ! Convert.IsDBNull( row[c, rowVersion] ) )
540
if (!_doc.IsNotMapped( c ) && (c.
ColumnMapping
== MappingType.Attribute) == fAttribute && !Convert.IsDBNull( row[c, rowVersion] ) )
556
if ((_column == null || _column.
ColumnMapping
== MappingType.Attribute) && _node.NodeType == XmlNodeType.Element) {
588
if ( _column != null && _column.
ColumnMapping
!= MappingType.Attribute )
660
return c.
ColumnMapping
== MappingType.Element;
662
return ( c.
ColumnMapping
== MappingType.Element || c.
ColumnMapping
== MappingType.SimpleContent );
676
Debug.Assert( _column.
ColumnMapping
!= MappingType.Attribute && _column.
ColumnMapping
!= MappingType.Hidden );
813
if ( _column.
ColumnMapping
== MappingType.Attribute || _column.
ColumnMapping
== MappingType.Hidden )
847
if ( _column.
ColumnMapping
== MappingType.Attribute || _column.
ColumnMapping
== MappingType.Hidden )
1163
if (_column.
ColumnMapping
== MappingType.Attribute) {
1494
Debug.Assert( (this._column.
ColumnMapping
== MappingType.SimpleContent) ? (this._fOnValue == true) : true );