7 writes to DataSetName
System.Data (7)
fx\src\data\System\Data\DataSet.cs (3)
117
this.
DataSetName
= dataSetName;
1111
ds.
DataSetName
= DataSetName;
1706
this.
DataSetName
= xdoc.DocumentElement.LocalName;
fx\src\data\System\Data\XDRSchema.cs (1)
67
ds.
DataSetName
= _schemaName;
fx\src\data\System\Data\XMLSchema.cs (3)
585
ds.
DataSetName
= XmlConvert.DecodeName(_schemaName);
716
ds.
DataSetName
= XmlConvert.DecodeName(((XmlSchemaElement)elements[0]).Name);
2258
_ds.
DataSetName
= XmlConvert.DecodeName(dsName);
27 references to DataSetName
System.Data (27)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1011
string stDataSetClassName = FixIdName(dataSet.
DataSetName
);
1131
initClassMethod.Statements.Add(Assign(Property(This(), "DataSetName"), Str(dataSet.
DataSetName
)));
fx\src\data\System\Data\DataRelation.cs (3)
428
if (String.Compare(ChildTable.TableName, ChildTable.DataSet.
DataSetName
, true, ChildTable.DataSet.Locale) == 0)
507
if (ChildTable.DataSet != null && ( String.Compare(ChildTable.TableName, ChildTable.DataSet.
DataSetName
, true, ChildTable.DataSet.Locale) == 0) )
508
throw ExceptionBuilder.DatasetConflictingName(dataSet.
DataSetName
);
fx\src\data\System\Data\DataSet.cs (3)
412
info.AddValue("DataSet.DataSetName",
DataSetName
);
1111
ds.DataSetName =
DataSetName
;
2071
if (this.
DataSetName
!= root.Name && this.namespaceURI != root.NamespaceURI &&
fx\src\data\System\Data\DataTable.cs (3)
1672
if ((0 == String.Compare(value, dataSet.
DataSetName
, true, dataSet.Locale)) && !fNestedInDataset)
1673
throw ExceptionBuilder.DatasetConflictingName(dataSet.
DataSetName
);
5798
DataSet dataset = new DataSet(ds.
DataSetName
);
fx\src\data\System\Data\DataTableCollection.cs (2)
288
if (NamesEqual(table.TableName, dataSet.
DataSetName
, false, dataSet.Locale) != 0 && !table.fNestedInDataset)
289
throw ExceptionBuilder.DatasetConflictingName(dataSet.
DataSetName
);
fx\src\data\System\Data\DataTableReader.cs (1)
637
BaseCatalogName.DefaultValue = table.DataSet.
DataSetName
;
fx\src\data\System\Data\DataViewManager.cs (1)
310
return dataSet.
DataSetName
;
fx\src\data\System\Data\XmlDataLoader.cs (1)
662
bool topNodeIsTable = isTableLevel || (dataSet.
DataSetName
!= table.TableName);
fx\src\data\System\Data\xmlsaver.cs (8)
508
rootSchema.SetAttribute(Keywords.XSDID, XmlConvert.EncodeLocalName(_ds.
DataSetName
));
868
dsElement.SetAttribute(Keywords.NAME, XmlConvert.EncodeLocalName(dataSet.
DataSetName
));
2432
if (_ds == null || _ds.
DataSetName
== null || _ds.
DataSetName
.Length == 0)
2435
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.
DataSetName
), _ds.Namespace);
2481
if (_ds.
DataSetName
== null || _ds.
DataSetName
.Length == 0)
2484
_xmlw.WriteStartElement(prefix, XmlConvert.EncodeLocalName(_ds.
DataSetName
), _ds.Namespace);
fx\src\data\System\Data\XMLSchema.cs (2)
709
DataTable tmpTable = ds.Tables[ds.
DataSetName
, ds.Namespace];
715
if (this.FromInference && ds.Tables.Count == 0 && String.Compare(ds.
DataSetName
, "NewDataSet", StringComparison.Ordinal) == 0)
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
428
string docElemName = XmlConvert.EncodeLocalName( this.DataSet.
DataSetName
);