checkUniqueFieldsArePresent method
void
checkUniqueFieldsArePresent(
- int? id,
- int? table_field_id,
- ChangeType? changeType,
- int? userId,
Implementation
void checkUniqueFieldsArePresent(
int? id, int? table_field_id, ChangeType? changeType, int? userId) {
if (id == null)
throw SqlException(SqlExceptionEnum.FAILED_SELECT,
cause: "id must not be null");
if (table_field_id == null)
throw SqlException(SqlExceptionEnum.FAILED_SELECT,
cause: "table_field_id must not be null");
if (changeType == null)
throw SqlException(SqlExceptionEnum.FAILED_SELECT,
cause: "change_type must not be null");
if (userId == null)
throw SqlException(SqlExceptionEnum.FAILED_SELECT,
cause: "user_id must not be null");
}