public void DataRow_RowError3()
{
Assert.Throws<ConstraintException>(() =>
{
DataSet ds = DataProvider.CreateForigenConstraint();
ds.Tables[0].BeginLoadData();
ds.Tables[0].Rows[0][0] = 10;
ds.Tables[0].EndLoadData(); //Foreign constraint violation
});
}