Hi Itamar, thanks for your answer, but no, this does not fix it!
Both my and your version will put the new object in the storage. After
the first using() block, I _do_ have my data and metadata in raven's
database. This part works.
Now, in the second using(), Raven will perfectly find the stored
object, but only when I try to get the metadata I get an exception:
System.InvalidOperationException: Could not find the document key for
SomeProp:findme
It looks like Raven really wants to have a dedicated document key.
Mind you, in a production system ofcourse my object would have some
business key that I could use, but why would the given case not work?
Regards,
Ewout
On 26 aug, 14:17, Itamar Syn-Hershko <
ita...@hibernatingrhinos.com>
wrote: