Esempio n. 1
0
 internal void CheckCanClearParentTable(DataTable table)
 {
     if (Table.DataSet.EnforceConstraints && Table.Rows.Count > 0)
     {
         throw ExceptionBuilder.FailedClearParentTable(table.TableName, ConstraintName, Table.TableName);
     }
 }