8 writes to Namespace
System.Data (8)
fx\src\data\System\Data\DataSet.cs (1)
1116
ds.
Namespace
= Namespace;
fx\src\data\System\Data\DataTable.cs (3)
4856
ds.
Namespace
= this.Namespace;
5001
ds.
Namespace
= this.Namespace;
5809
dataset.
Namespace
= ds.Namespace;
fx\src\data\System\Data\XDRSchema.cs (1)
51
ds.
Namespace
= _schemaUri;
fx\src\data\System\Data\XMLSchema.cs (3)
725
ds.
Namespace
= ds.Tables[0].Namespace;
731
ds.
Namespace
= schemaRoot.TargetNamespace;
2261
_ds.
Namespace
= dsNamespace;
44 references to Namespace
System.Data (44)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1135
initClassMethod.Statements.Add(Assign(Property(This(), "Namespace"), Str(dataSet.
Namespace
)));
fx\src\data\System\Data\DataSet.cs (3)
413
info.AddValue("DataSet.Namespace",
Namespace
);
654
DataTable conflicting = Tables[value,
Namespace
];
1116
ds.Namespace =
Namespace
;
fx\src\data\System\Data\DataTable.cs (3)
267
tempDSNamespace = this.DataSet.
Namespace
;
1750
return DataSet.
Namespace
;
5809
dataset.Namespace = ds.
Namespace
;
fx\src\data\System\Data\xmlsaver.cs (30)
514
WriteSchemaRoot(xd, rootSchema, _ds.
Namespace
);
523
namespaces[_ds.
Namespace
] = rootSchema;
532
namespaces[_ds.
Namespace
] = rootSchema;
533
if (_ds.
Namespace
.Length == 0)
534
prefixes[_ds.
Namespace
] = null;
537
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.
Namespace
);
538
prefixes[_ds.
Namespace
] = "mstns";
599
if (((_ds != null )&& (_ds.
Namespace
== top[i].Namespace)) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat == SchemaFormat.Remoting)) {
602
if (((_ds != null )&& (_ds.
Namespace
.Length != 0)) && Common.ADP.IsEmpty(top[i].Namespace)) {
630
if ((_ds != null && _ds.
Namespace
== top[i].Namespace) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat == SchemaFormat.Remoting))
695
if (ns == ((_ds != null) ? _ds.
Namespace
: _dt.Namespace) || Common.ADP.IsEmpty(ns)) {
721
if (ns == ((_ds != null)?_ds.
Namespace
:_dt.Namespace) || Common.ADP.IsEmpty(ns)) {
760
if (imp_ns == ((_ds != null)?_ds.
Namespace
:_dt.Namespace))
826
namespaces[_ds.
Namespace
] = rootSchema;
827
if (_ds.
Namespace
.Length == 0) {
828
prefixes[_ds.
Namespace
] = null;
832
rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.
Namespace
);
833
prefixes[_ds.
Namespace
] = "mstns";
1065
(col.Table.DataSet != null ? col.Table.DataSet.
Namespace
: col.Table.Namespace);
1194
tgNamespace = _ds.
Namespace
;
1280
if (col.Table.Namespace!=_ds.
Namespace
) {
1478
if (((table.DataSet == null) || (_ds!= null && table.Namespace != _ds.
Namespace
)) && (schFormat == SchemaFormat.Remoting))
1490
tgNamespace = (_ds != null) ?_ds.
Namespace
: "";
1570
typeSchema = fUnqualified ? GetSchema(_ds.
Namespace
): GetSchema(table.Namespace);
1707
String xpathprefix = (_ds != null)? (_ds.
Namespace
.Length != 0 ? Keywords.MSTNS_PREFIX : String.Empty) : String.Empty;
2430
string prefix = (_ds!= null)?(( _ds.
Namespace
.Length == 0 )? "" : _ds.Prefix):(( _dt.Namespace.Length == 0 )? "" : _dt.Prefix);
2435
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.
Namespace
);
2468
string prefix = (_ds!= null)?(( _ds.
Namespace
.Length == 0 )? "" : _ds.Prefix):(( _dt.Namespace.Length == 0 )? "" : _dt.Prefix);
2482
_xmlw.WriteStartElement(prefix, Keywords.DOCUMENTELEMENT, _ds.
Namespace
);
2484
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.
Namespace
);
fx\src\data\System\Data\XMLSchema.cs (3)
698
if (dt.NestedParentRelations.Length == 0 && dt.Namespace == ds.
Namespace
) {
709
DataTable tmpTable = ds.Tables[ds.DataSetName, ds.
Namespace
];
2264
_ds.Prefix = GetPrefix(_ds.
Namespace
);
fx\src\data\System\Data\XmlToDatasetMap.cs (2)
265
string dsNamespace = nameTable.Get(dataSet.
Namespace
); // Attept to look up DataSet namespace
269
dsNamespace = nameTable.Add(dataSet.
Namespace
); // Nope. Add it
fx\src\data\System\NewXml\XmlDataDocument.cs (2)
431
string ns = this.DataSet.
Namespace
;
2820
if (dt.Namespace != ds.
Namespace
) {