56 references to Element
System.Data (30)
fx\src\data\System\Data\DataColumn.cs (10)
50
internal MappingType columnMapping = MappingType.
Element
;
97
public DataColumn() : this(null, typeof(string), null, MappingType.
Element
) {
106
public DataColumn(string columnName) : this(columnName, typeof(string), null, MappingType.
Element
) {
115
public DataColumn(string columnName, Type dataType) : this(columnName, dataType, null, MappingType.
Element
) {
125
public DataColumn(string columnName, Type dataType, string expr) : this(columnName, dataType, expr, MappingType.
Element
) {
1306
DefaultValue(MappingType.
Element
),
1319
if (columnMapping == MappingType.
Element
)
1336
if (value == MappingType.
Element
)
1338
else if (columnMapping == MappingType.
Element
)
1567
if ((mapping != MappingType.
Element
) && DataStorage.IsTypeCustomType(typeCode)) {
fx\src\data\System\Data\DataColumnCollection.cs (2)
166
if (column.ColumnMapping == MappingType.
Element
)
795
if (column.ColumnMapping == MappingType.
Element
)
fx\src\data\System\Data\XDRSchema.cs (1)
417
isAttribute ? MappingType.Attribute : MappingType.
Element
);
fx\src\data\System\Data\XMLDiffLoader.cs (1)
304
if ((col.ColumnMapping == MappingType.
Element
) ||
fx\src\data\System\Data\xmlsaver.cs (8)
1206
String refString = (col.ColumnMapping != MappingType.
Element
) ? Keywords.XSD_ATTRIBUTE : Keywords.XSD_ELEMENT;
1303
if ((col.ColumnMapping == MappingType.
Element
) && fWriteOrdinal)
1366
if (!hasElements && col.ColumnMapping == MappingType.
Element
)
1543
if (col.ColumnMapping == MappingType.
Element
)
1631
if (col.ColumnMapping == MappingType.Attribute || col.ColumnMapping == MappingType.
Element
|| col.ColumnMapping == MappingType.Hidden ) {
1634
bool isAttribute = col.ColumnMapping != MappingType.
Element
;
2199
if ((row.Table.Columns[colNum].ColumnMapping == MappingType.
Element
) ||
2231
case MappingType.
Element
:
fx\src\data\System\Data\XMLSchema.cs (4)
826
if (dc.ColumnMapping == MappingType.
Element
)
2120
if (column.ColumnMapping != MappingType.
Element
)
2130
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
2136
column = new DataColumn(columnName, type, null, MappingType.
Element
);
fx\src\data\System\NewXml\DataSetMappper.cs (1)
148
if ( node.NodeType == XmlNodeType.Element && mt == MappingType.
Element
)
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
623
if ( col.ColumnMapping == MappingType.
Element
) {
fx\src\data\System\NewXml\XPathNodePointer.cs (2)
660
return c.ColumnMapping == MappingType.
Element
;
662
return ( c.ColumnMapping == MappingType.
Element
|| c.ColumnMapping == MappingType.SimpleContent );
System.Data.Entity.Design (26)
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsCollection.cs (12)
241
this._columnPKCatalog = new System.Data.DataColumn(PK_CATALOG, typeof(string), null, System.Data.MappingType.
Element
);
243
this._columnPKSchema = new System.Data.DataColumn(PK_SCHEMA, typeof(string), null, System.Data.MappingType.
Element
);
245
this._columnPKTable = new System.Data.DataColumn(PK_TABLE, typeof(string), null, System.Data.MappingType.
Element
);
247
this._columnPKColumn = new System.Data.DataColumn(PK_COLUMN, typeof(string), null, System.Data.MappingType.
Element
);
249
this._columnFKCatalog = new System.Data.DataColumn(FK_CATALOG, typeof(string), null, System.Data.MappingType.
Element
);
251
this._columnFKSchema = new System.Data.DataColumn(FK_SCHEMA, typeof(string), null, System.Data.MappingType.
Element
);
253
this._columnFKTable = new System.Data.DataColumn(FK_TABLE, typeof(string), null, System.Data.MappingType.
Element
);
255
this._columnFKColumn = new System.Data.DataColumn(FK_COLUMN, typeof(string), null, System.Data.MappingType.
Element
);
257
this._columnOrdinal = new System.Data.DataColumn(ORDINAL, typeof(int), null, System.Data.MappingType.
Element
);
259
this._columnRelationshipName = new System.Data.DataColumn(RELATIONSHIP_NAME, typeof(string), null, System.Data.MappingType.
Element
);
261
this._columnRelationshipId = new System.Data.DataColumn(RELATIONSHIP_ID, typeof(string), null, System.Data.MappingType.
Element
);
263
this._columnRelationshipIsCascadeDelete = new System.Data.DataColumn(RELATIONSHIP_IsCascadeDelete, typeof(bool), null, System.Data.MappingType.
Element
);
System\Data\Entity\Design\SSDLGenerator\TableDetailsCollection.cs (14)
254
this._columnCatalog = new System.Data.DataColumn(CATALOG, typeof(string), null, System.Data.MappingType.
Element
);
256
this._columnSchema = new System.Data.DataColumn(SCHEMA, typeof(string), null, System.Data.MappingType.
Element
);
258
this._columnTable = new System.Data.DataColumn(TABLE, typeof(string), null, System.Data.MappingType.
Element
);
260
this._columnFieldColumn = new System.Data.DataColumn(COLUMN, typeof(string), null, System.Data.MappingType.
Element
);
262
this._columnFieldOrdinal = new System.Data.DataColumn(ORDINAL, typeof(int), null, System.Data.MappingType.
Element
);
264
this._columnIsNullable = new System.Data.DataColumn(IS_NULLABLE, typeof(bool), null, System.Data.MappingType.
Element
);
266
this._columnDataType = new System.Data.DataColumn(DATA_TYPE, typeof(string), null, System.Data.MappingType.
Element
);
268
this._columnMaximumLength = new System.Data.DataColumn(MAX_LENGTH, typeof(int), null, System.Data.MappingType.
Element
);
270
this._columnPrecision = new System.Data.DataColumn(PRECISION, typeof(int), null, System.Data.MappingType.
Element
);
272
this._columnDateTimePrecision = new System.Data.DataColumn(DATETIMEPRECISION, typeof(int), null, System.Data.MappingType.
Element
);
274
this._columnScale = new System.Data.DataColumn(SCALE, typeof(int), null, System.Data.MappingType.
Element
);
276
this._columnIsIdentity = new System.Data.DataColumn(IS_IDENTITY, typeof(bool), null, System.Data.MappingType.
Element
);
278
this._columnIsServerGenerated = new System.Data.DataColumn(IS_SERVERGENERATED, typeof(bool), null, System.Data.MappingType.
Element
);
280
this._columnIsPrimaryKey = new System.Data.DataColumn(IS_PRIMARYKEY, typeof(bool), null, System.Data.MappingType.
Element
);