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