|Title:||Add enumeration for extended return codes|
|Last Modified:||2015-07-13 19:51:41|
|Version Found In:||22.214.171.124|
anonymous added on 2015-06-02 07:37:38:
I think there should be an enum SQLiteExtendedResultCode mapping to those described here.
It's rather cumbersome to be able to write
It would also be nice to have SQLiteException.ErrorCode being an SQLiteErrorCode instead of an int.
anonymous added on 2015-07-13 11:33:19:
Moreover: even after setting myConnection.SetExtendedResultCodes(true) I would have expected myConnection.ResultCode() to still deliver one of the 31 Primary Result Codes - why else should there be a method myConnection.ExtendedResultCode()? The documentation here is by the way erroneous because it says for all three methods "Enables or disabled extended result codes returned by SQLite".
mistachkin added on 2015-07-13 19:51:41:
Fixed on trunk via check-in [42798551ca]. Instead of creating a new enumeration, the existing one was updated to include the extended return codes.