12 writes to Namespace
System.Data (12)
fx\src\data\System\Data\DataColumn.cs (1)
1007
this.
Namespace
= null;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
1016
targetColumn.
Namespace
= ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\XDRSchema.cs (2)
423
column.
Namespace
= (isAttribute) ? String.Empty : _schemaUri;
439
column.
Namespace
= targetNamespace;
fx\src\data\System\Data\XMLSchema.cs (8)
2000
column.
Namespace
= attrib.QualifiedName.Namespace;
2001
column.
Namespace
= GetStringAttribute(attrib, "targetNamespace", column.Namespace);
2163
column.
Namespace
= elem.QualifiedName.Namespace;
2164
column.
Namespace
= GetStringAttribute(el, "targetNamespace", column.Namespace);
2168
column.
Namespace
= String.Empty;
2176
column.
Namespace
= String.Empty;
2180
column.
Namespace
= elem.QualifiedName.Namespace;
2181
column.
Namespace
= GetStringAttribute(el, "targetNamespace", column.Namespace);
71 references to Namespace
System.Data (71)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
657
tableInitClass.Statements.Add(Assign(Property(codeField, "Namespace"), Str(column.
Namespace
)));
fx\src\data\System\Data\DataColumn.cs (1)
995
else if (value != this.
Namespace
) {
fx\src\data\System\Data\DataColumnCollection.cs (1)
121
if ((columnFromName.TryGetValue(name, out column)) && (column != null) && (column.
Namespace
== ns)) {
fx\src\data\System\Data\DataTableReader.cs (1)
716
dr[BaseColumnNamespace] = dc.
Namespace
;
fx\src\data\System\Data\XmlDataLoader.cs (1)
1144
xmlAttrib.Namespace = column.
Namespace
;
fx\src\data\System\Data\XMLDiffLoader.cs (2)
312
value = row.GetAttribute(col.EncodedColumnName, col.
Namespace
);
376
xmlAttrib.Namespace = column.
Namespace
;
fx\src\data\System\Data\xmlsaver.cs (28)
1212
if (col.
Namespace
.Length == 0) {
1216
if (col.
Namespace
!= tgNamespace) {
1269
root.SetAttribute( Keywords.TARGETNAMESPACE, Keywords.MSDNS, col.
Namespace
);
1273
if ((col.
Namespace
!= (col.Table.TypeName.IsEmpty ? col.Table.Namespace : col.Table.TypeName.Namespace)) && (col.
Namespace
.Length != 0))
1275
XmlElement schNode = GetSchema(col.
Namespace
);
1279
root.SetAttribute( Keywords.REF, prefixes[ col.
Namespace
]+":"+ col.EncodedColumnName);
1281
string prefix = (string)prefixes[col.
Namespace
];
1757
GetSchema(fields[k].
Namespace
);
1758
if (!Common.ADP.IsEmpty(fields[k].
Namespace
)) {
1759
encodedName.Append(prefixes[fields[k].
Namespace
]).Append(':');
1816
GetSchema(fields[k].
Namespace
);
1817
if (!Common.ADP.IsEmpty(fields[k].
Namespace
)) {
1818
encodedName.Append(prefixes[fields[k].
Namespace
]).Append(':');
1890
GetSchema(fields[k].
Namespace
);
1891
if (!Common.ADP.IsEmpty(fields[k].
Namespace
)) {
1892
encodedName.Append(prefixes[fields[k].
Namespace
]).Append(':');
2123
string columnPrefix = (column.
Namespace
.Length != 0) ? column.Prefix : String.Empty;
2141
_xmlw.WriteStartElement( columnPrefix, column.EncodedColumnName, column.
Namespace
);
2216
string colPrefix = (col.
Namespace
.Length != 0) ? col.Prefix : String.Empty;
2220
_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.
Namespace
, value);
2237
_xmlw.WriteStartElement( colPrefix, col.EncodedColumnName, col.
Namespace
);
2267
xmlAttrib.Namespace = col.
Namespace
;
2570
string colPrefix = (col.
Namespace
.Length == 0) ? "" : col.Prefix;
2574
_xmlw.WriteAttributeString(colPrefix, col.EncodedColumnName, col.
Namespace
, col.ConvertObjectToXml(value));
2597
string colPrefix = (col.
Namespace
.Length == 0) ? "" : col.Prefix;
2608
_xmlw.WriteStartElement(colPrefix, col.EncodedColumnName, col.
Namespace
);
2639
xmlAttrib.Namespace = col.
Namespace
;
fx\src\data\System\Data\XMLSchema.cs (9)
1879
column.Prefix = GetPrefix(column.
Namespace
);
1966
(string.Compare(attrib.QualifiedName.Namespace, column.
Namespace
, StringComparison.Ordinal) == 0))
2001
column.Namespace = GetStringAttribute(attrib, "targetNamespace", column.
Namespace
);
2006
column.Prefix = GetPrefix(column.
Namespace
);
2126
(string.Compare(elem.QualifiedName.Namespace, column.
Namespace
, StringComparison.Ordinal) == 0))
2164
column.Namespace = GetStringAttribute(el, "targetNamespace", column.
Namespace
);
2181
column.Namespace = GetStringAttribute(el, "targetNamespace", column.
Namespace
);
2195
if (column.
Namespace
== table.Namespace)
2199
column.Prefix = GetPrefix(column.
Namespace
); // it can inherit its NS from DataTable, if it is null
fx\src\data\System\Data\XmlToDatasetMap.cs (4)
191
string columnNamespace = nameTable.Get(col.
Namespace
);
217
string columnNamespace = nameTable.Get(col.
Namespace
); // Get column namespace from nametable
220
columnNamespace = nameTable.Add(col.
Namespace
); // Add it
478
string columnNamespace = nameTable.Get(col.
Namespace
);
fx\src\data\System\NewXml\DataPointer.cs (3)
367
return doc.NameTable.Add(column.
Namespace
);
535
n = node.Attributes.GetNamedItem( column.EncodedColumnName, column.
Namespace
);
539
if (n.LocalName == column.EncodedColumnName && n.NamespaceURI == column.
Namespace
)
fx\src\data\System\NewXml\DataSetMappper.cs (1)
323
object idColumn = GetIdentity( col.EncodedColumnName, col.
Namespace
);
fx\src\data\System\NewXml\XmlDataDocument.cs (6)
619
node.SetAttribute( col.EncodedColumnName, col.
Namespace
, col.ConvertObjectToXml( value ) );
624
newNode = new XmlBoundElement( string.Empty, col.EncodedColumnName, col.
Namespace
, this );
1334
if ( attr.LocalName == col.EncodedColumnName && attr.NamespaceURI == col.
Namespace
) {
1348
rowElement.SetAttribute( col.EncodedColumnName, col.
Namespace
, col.ConvertObjectToXml( value ) );
1365
if ( e.LocalName == col.EncodedColumnName && e.NamespaceURI == col.
Namespace
) {
1390
XmlElement newElem = new XmlBoundElement( string.Empty, col.EncodedColumnName, col.
Namespace
, this );
fx\src\data\System\NewXml\XPathNodePointer.cs (13)
162
if ( this._column.
Namespace
== s_strReservedXmlns )
248
if ( _column.
Namespace
== s_strReservedXmlns )
251
return _doc.NameTable.Add(_column.
Namespace
);
478
if ( c.
Namespace
!= s_strReservedXmlns )
560
if (c.EncodedColumnName == localName && c.
Namespace
== namespaceURI) {
596
if ( c.
Namespace
!= s_strReservedXmlns ) {
1164
n = _node.Attributes.GetNamedItem( _column.EncodedColumnName, _column.
Namespace
);
1168
if (n.LocalName == _column.EncodedColumnName && n.NamespaceURI == _column.
Namespace
)
1211
if ( curCol.
Namespace
== s_strReservedXmlns ) {
1291
if ( curCol.
Namespace
== s_strReservedXmlns && curCol.ColumnName == name ) {
1344
if ( curCol.
Namespace
== s_strReservedXmlns && !DuplicateNS( be, curCol.ColumnName ) ) {
1414
Debug.Assert( this._column.
Namespace
== s_strReservedXmlns );
1423
if ( curCol.
Namespace
== s_strReservedXmlns ) {