3 writes to _ds
System.Data (3)
fx\src\data\System\Data\xmlsaver.cs (3)
480_ds = ds; 489_ds = dt.DataSet; 804_ds = dt.DataSet;
56 references to _ds
System.Data (56)
fx\src\data\System\Data\xmlsaver.cs (56)
347if((_ds != null) && (HaveExtendedProperties(_ds))) { 507if (_ds != null) { 508rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.EncodeLocalName(_ds.DataSetName)); 513if (_ds != null) { 514WriteSchemaRoot(xd, rootSchema, _ds.Namespace); 522if (_ds != null) { 523namespaces[_ds.Namespace] = rootSchema; 531if (_ds != null) { 532namespaces[_ds.Namespace] = rootSchema; 533if (_ds.Namespace.Length == 0) 534prefixes[_ds.Namespace] = null; 537rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.Namespace ); 538prefixes[_ds.Namespace] = "mstns"; 571AddXdoProperties(_ds, dsElement, xd ); 591if (_ds != null) { 592AddXdoProperties(_ds, dsElement, xd ); 593AddExtendedProperties(_ds.extendedProperties, dsElement); 599if (((_ds != null )&& (_ds.Namespace == top[i].Namespace)) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat == SchemaFormat.Remoting)) { 602if (((_ds != null )&& (_ds.Namespace.Length != 0)) && Common.ADP.IsEmpty(top[i].Namespace)) { 630if ((_ds != null && _ds.Namespace == top[i].Namespace) || Common.ADP.IsEmpty(top[i].Namespace) || (schFormat == SchemaFormat.Remoting)) 695if (ns == ((_ds != null) ? _ds.Namespace : _dt.Namespace) || Common.ADP.IsEmpty(ns)) { 721if (ns == ((_ds != null)?_ds.Namespace:_dt.Namespace) || Common.ADP.IsEmpty(ns)) { 760if (imp_ns == ((_ds != null)?_ds.Namespace:_dt.Namespace)) 825if (_ds != null) { 826namespaces[_ds.Namespace] = rootSchema; 827if (_ds.Namespace.Length == 0) { 828prefixes[_ds.Namespace] = null; 832rootSchema.SetAttribute(Keywords.XMLNS_MSTNS, _ds.Namespace ); 833prefixes[_ds.Namespace] = "mstns"; 980if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.ParentKey.Table.TableName) ==-3)) 983if ((_ds == null) || (_ds.Tables.InternalIndexOf(rel.ChildKey.Table.TableName) ==-3)) 1194tgNamespace = _ds.Namespace; 1280if (col.Table.Namespace!=_ds.Namespace) { 1478if (((table.DataSet == null) || (_ds!= null && table.Namespace != _ds.Namespace)) && (schFormat == SchemaFormat.Remoting)) 1490tgNamespace = (_ds != null) ?_ds.Namespace : ""; 1567if (_ds == null) 1570typeSchema = fUnqualified ? GetSchema(_ds.Namespace): GetSchema(table.Namespace); 1707String xpathprefix = (_ds != null)? (_ds.Namespace.Length != 0 ? Keywords.MSTNS_PREFIX : String.Empty) : String.Empty; 1730if ((_ds == null) || (_ds.Tables.InternalIndexOf(table.TableName) ==-3)) 1802if ((_ds == null) || (_ds.Tables.InternalIndexOf(table.TableName) ==-3)) 1842if ((_ds == null) || (_ds.Tables.InternalIndexOf(foreign.RelatedTable.TableName) == -3)) // if there is a conflicting name/namespace only