7 writes to DataSetName
System.Data.Common (7)
System\Data\DataSet.cs (3)
107DataSetName = dataSetName; 1159ds.DataSetName = DataSetName; 1862DataSetName = xdoc.DocumentElement!.LocalName;
System\Data\XDRSchema.cs (1)
65ds.DataSetName = _schemaName;
System\Data\XMLSchema.cs (3)
675ds.DataSetName = XmlConvert.DecodeName(_schemaName); 835ds.DataSetName = XmlConvert.DecodeName(((XmlSchemaElement)_elements[0]).Name)!; 2614_ds.DataSetName = XmlConvert.DecodeName(dsName);
25 references to DataSetName
System.Data.Common (25)
System\Data\DataRelation.cs (3)
423if (string.Compare(ChildTable.TableName, ChildTable.DataSet!.DataSetName, true, ChildTable.DataSet.Locale) == 0) 517if (ChildTable.DataSet != null && (string.Compare(ChildTable.TableName, ChildTable.DataSet.DataSetName, true, ChildTable.DataSet.Locale) == 0)) 519throw ExceptionBuilder.DatasetConflictingName(DataSet.DataSetName);
System\Data\DataSet.cs (5)
27[DefaultProperty(nameof(DataSetName))] 510info.AddValue("DataSet.DataSetName", DataSetName); 772RaisePropertyChanging(nameof(DataSetName)); 1159ds.DataSetName = DataSetName; 2287if (DataSetName != root.Name && _namespaceURI != root.NamespaceURI &&
System\Data\DataTable.cs (3)
1789if ((0 == string.Compare(value, _dataSet.DataSetName, true, _dataSet.Locale)) && !_fNestedInDataset) 1791throw ExceptionBuilder.DatasetConflictingName(_dataSet.DataSetName); 6574DataSet dataset = new DataSet(ds.DataSetName);
System\Data\DataTableCollection.cs (2)
298if (NamesEqual(table.TableName, _dataSet.DataSetName, false, _dataSet.Locale) != 0 && !table._fNestedInDataset) 300throw ExceptionBuilder.DatasetConflictingName(_dataSet.DataSetName);
System\Data\DataTableReader.cs (1)
752BaseCatalogName.DefaultValue = table.DataSet.DataSetName;
System\Data\DataViewManager.cs (1)
269return dataSet.DataSetName;
System\Data\XmlDataLoader.cs (1)
696bool topNodeIsTable = _isTableLevel || (_dataSet!.DataSetName != table.TableName);
System\Data\xmlsaver.cs (6)
593rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.EncodeLocalName(_ds.DataSetName)); 1024_dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(dataSet.DataSetName)); 2813if (_ds == null || string.IsNullOrEmpty(_ds.DataSetName)) 2816_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace); 2872if (string.IsNullOrEmpty(_ds.DataSetName)) 2875_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.DataSetName), _ds.Namespace);
System\Data\XMLSchema.cs (2)
828DataTable? tmpTable = ds.Tables[ds.DataSetName, ds.Namespace]; 834if (FromInference && ds.Tables.Count == 0 && string.Equals(ds.DataSetName, "NewDataSet", StringComparison.Ordinal))
System\Xml\XmlDataDocument.cs (1)
461string docElemName = XmlConvert.EncodeLocalName(DataSet.DataSetName);