3 writes to _dataSet
System.Data.Common (3)
System\Xml\XmlDataDocument.cs (3)
107_dataSet = ds; 2583_dataSet = null!; 2629_dataSet = ds;
25 references to _dataSet
System.Data.Common (25)
System\Xml\XmlDataDocument.cs (25)
98[MemberNotNull(nameof(_dataSet))] 102Debug.Assert(_dataSet == null); 195_mapper.SetupMapping(this, _dataSet); 196if (_dataSet.Tables.Count > 0) 214_mapper.SetupMapping(this, _dataSet); 243_dataSet.DataRowCreated += new DataRowCreatedEventHandler(OnDataRowCreatedSpecial); 250_dataSet.DataRowCreated -= new DataRowCreatedEventHandler(OnDataRowCreatedSpecial); 267Debug.Assert(_dataSet != null); 275_dataSet.Tables.CollectionChanging += new CollectionChangeEventHandler(OnDataSetTablesChanging); 276_dataSet.Relations.CollectionChanging += new CollectionChangeEventHandler(OnDataSetRelationsChanging); 277_dataSet.DataRowCreated += new DataRowCreatedEventHandler(OnDataRowCreated); 278_dataSet.PropertyChanging += new PropertyChangedEventHandler(OnDataSetPropertyChanging); 281_dataSet.ClearFunctionCalled += new DataSetClearEventhandler(OnClearCalled); 283if (_dataSet.Tables.Count > 0) 285foreach (DataTable t in _dataSet.Tables) 291foreach (DataRelation rel in _dataSet.Relations) 395return _dataSet; 522_mapper.SetupMapping(this, _dataSet); 1028clone._dataSet.EnforceConstraints = _dataSet.EnforceConstraints; 1212bool saveEnforce = _dataSet.EnforceConstraints; 1213_dataSet.EnforceConstraints = false; 1221_dataSet.EnforceConstraints = saveEnforce; 2567_dataSet.EnforceConstraints = false; 2620[MemberNotNull(nameof(_dataSet))]