8 writes to Namespace
System.Data.Common (8)
System\Data\DataSet.cs (1)
1164
ds.
Namespace
= Namespace;
System\Data\DataTable.cs (3)
5429
ds.
Namespace
= Namespace;
5596
ds.
Namespace
= Namespace;
6585
dataset.
Namespace
= ds.Namespace;
System\Data\XDRSchema.cs (1)
47
ds.
Namespace
= _schemaUri;
System\Data\XMLSchema.cs (3)
846
ds.
Namespace
= ds.Tables[0].Namespace;
854
ds.
Namespace
= schemaRoot.TargetNamespace;
2617
_ds.
Namespace
= dsNamespace;
44 references to Namespace
System.Data.Common (44)
System\Data\DataSet.cs (4)
511
info.AddValue("DataSet.Namespace",
Namespace
);
766
DataTable? conflicting = Tables[value,
Namespace
];
790
RaisePropertyChanging(nameof(
Namespace
));
1164
ds.Namespace =
Namespace
;
System\Data\DataTable.cs (3)
285
tempDSNamespace = _dataSet.
Namespace
;
1889
return DataSet.
Namespace
;
6585
dataset.Namespace = ds.
Namespace
;
System\Data\xmlsaver.cs (30)
601
WriteSchemaRoot(rootSchema, _ds.
Namespace
);
613
_namespaces[_ds.
Namespace
] = rootSchema;
625
_namespaces[_ds.
Namespace
] = rootSchema;
626
if (_ds.
Namespace
.Length == 0)
627
_prefixes[_ds.
Namespace
] = null;
631
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.
Namespace
);
632
_prefixes[_ds.
Namespace
] = "mstns";
699
if (((_ds != null) && (_ds.
Namespace
== top[i].Namespace)) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting))
703
if (((_ds != null) && (_ds.
Namespace
.Length != 0)) && string.IsNullOrEmpty(top[i].Namespace))
739
if ((_ds != null && _ds.
Namespace
== top[i].Namespace) || string.IsNullOrEmpty(top[i].Namespace) || (_schFormat == SchemaFormat.Remoting))
814
if (ns == ((_ds != null) ? _ds.
Namespace
: _dt.Namespace) || string.IsNullOrEmpty(ns))
845
if (ns == ((_ds != null) ? _ds.
Namespace
: _dt.Namespace) || string.IsNullOrEmpty(ns))
892
if (imp_ns == ((_ds != null) ? _ds.
Namespace
: _dt.Namespace))
972
_namespaces[_ds.
Namespace
] = rootSchema;
973
if (_ds.
Namespace
.Length == 0)
975
_prefixes[_ds.
Namespace
] = null;
980
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.
Namespace
);
981
_prefixes[_ds.
Namespace
] = "mstns";
1264
(col.Table!.DataSet != null ? col.Table.DataSet.
Namespace
: col.Table.Namespace);
1415
tgNamespace = _ds!.
Namespace
;
1518
if (col.Table.Namespace != _ds!.
Namespace
)
1737
if (((table.DataSet == null) || (_ds != null && table.Namespace != _ds.
Namespace
)) && (_schFormat == SchemaFormat.Remoting))
1752
tgNamespace = (_ds != null) ? _ds.
Namespace
: "";
1845
typeSchema = fUnqualified ? GetSchema(_ds.
Namespace
) : GetSchema(table.Namespace);
1989
string xpathprefix = (_ds != null) ? (_ds.
Namespace
.Length != 0 ? Keywords.MSTNS_PREFIX : string.Empty) : string.Empty;
2811
string prefix = (_ds != null) ? ((_ds.
Namespace
.Length == 0) ? "" : _ds.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix);
2816
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.
Namespace
);
2856
string prefix = (_ds != null) ? ((_ds.
Namespace
.Length == 0) ? "" : _ds.Prefix) : ((_dt!.Namespace.Length == 0) ? "" : _dt.Prefix);
2873
_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _ds.
Namespace
);
2875
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.
Namespace
);
System\Data\XMLSchema.cs (3)
812
if (dt.NestedParentRelations.Length == 0 && dt.Namespace == ds.
Namespace
)
828
DataTable? tmpTable = ds.Tables[ds.DataSetName, ds.
Namespace
];
2620
_ds.Prefix = GetPrefix(_ds.
Namespace
);
System\Data\XmlToDatasetMap.cs (2)
295
nameTable.Get(dataSet.
Namespace
) ?? // Attempt to look up DataSet namespace in the name table
296
nameTable.Add(dataSet.
Namespace
); // Found? Nope. Add it
System\Xml\XmlDataDocument.cs (2)
467
docelem = new XmlBoundElement(string.Empty, docElemName, DataSet.
Namespace
?? string.Empty, this);
3143
if (dt.Namespace != ds.
Namespace
)