public void TestCanRemove_ParentRelations()
{
var ds = new DataSet();
ds.Tables.Add("table1");
ds.Tables.Add("table2");
ds.Tables["table1"].Columns.Add("col1");
ds.Tables["table2"].Columns.Add("col1");
ds.Tables[1].ParentRelations.Add("name1", ds.Tables[0].Columns["col1"], ds.Tables[1].Columns["col1"], false);
Assert.Equal(false, ds.Tables[1].Columns.CanRemove(ds.Tables[1].Columns["col1"]));
Assert.Equal(false, ds.Tables[0].Columns.CanRemove(ds.Tables[0].Columns["col1"]));
}