get StreamEntryId from a stream
Hi All,
I have problem to get the StreamEntryId of last record inserted into a stream. I'm using AddStreamEntry to add the new record.
Following the list of steps :
1) search information
2) add the information to the stream using the AddStreamEntry
3) If I use QueryStreamEntriesWithData with last timestamp used to add the record (#2) --> no data found
4) If I use GetStreamEntries (oldestfirst=false) an StreamEntryId is returned but it is not the last inserted (not the one I need)
How can I get the StreamEntryId of the last added record ?
These instructions are all part of the same service inside a loop, and the StreamEntryId is needed to refer the correct record.
BR
Dimitri
