getObjectStoreId() in 4.0 API

0
I have been using this method (of the interface IMendixIdentifier) to obtain the surrogate primary key of an object as stored in the database. In 4.0 the actions won't compile because the method is no longer available. How can we now retrieve the id please?
asked
1 answers
0

use toLong() instead, the identifier is now simply a wrapper around the long value (as far as the outside world is concerned)

Edit: I have updated the documentation at https://world.mendix.com/display/refguide4/Moving+from+3+to+4 to reflect these changes.

answered