You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when generating DBConcurrencyException in Update method of FbDataAdapter you should supply the row, that caused error for client software that handles it
int rowsAffected = command.ExecuteNonQuery();
if (rowsAffected == 0)
{
throw new DBConcurrencyException("An attempt to execute an INSERT, UPDATE, or DELETE statement resulted in zero records affected.");
}
i propose writing
throw new DBConcurrencyException("An attempt to execute an INSERT, UPDATE, or DELETE statement resulted in zero records affected.", null, new DataRow[]{row});
Submitted by: Pavel (chpasha)
Relate to DNET126
when generating DBConcurrencyException in Update method of FbDataAdapter you should supply the row, that caused error for client software that handles it
int rowsAffected = command.ExecuteNonQuery();
if (rowsAffected == 0)
{
throw new DBConcurrencyException("An attempt to execute an INSERT, UPDATE, or DELETE statement resulted in zero records affected.");
}
i propose writing
throw new DBConcurrencyException("An attempt to execute an INSERT, UPDATE, or DELETE statement resulted in zero records affected.", null, new DataRow[]{row});
Commits: 708cc74
The text was updated successfully, but these errors were encountered: