10 references to DataSet
System.Data.Common (10)
System\Data\DataRelation.cs (3)
415Debug.Assert(DataSet == null || !_nested, "this relation supposed to be not in dataset or not nested"); 509if (DataSet != null) 519throw ExceptionBuilder.DatasetConflictingName(DataSet.DataSetName);
System\Data\DataRelationCollection.cs (4)
193if (relation.DataSet == dataSet) 197if (relation.DataSet != null) 419public virtual bool CanRemove(DataRelation? relation) => relation != null && relation.DataSet == GetDataSet(); 493if (relation.DataSet != dataSet)
System\Data\DataRow.cs (3)
824if (relation.DataSet != _table.DataSet) 868if (relation.DataSet != _table.DataSet) 930if (relation.DataSet != _table.DataSet)