TryToBreakUniqueConstraint() public static method

public static TryToBreakUniqueConstraint ( ) : void
return void
 public void Add_SDB4()
 {
     Assert.Throws <ConstraintException>(() =>
     {
         DataTable dt = DataProvider.CreateParentDataTable();
         dt.Constraints.Add("UniqueConstraint", dt.Columns["ParentId"], false);
         DataProvider.TryToBreakUniqueConstraint();
         Assert.Equal(2, dt.Select("ParentId=1").Length);
     });
 }