mj1856 (1) [Avatar] Offline
#1
I read the first chapter, and it looks great!

Minor correction, on page 24, section 1.4.5 on Deleting Documents.

The second code section is supposed to show a delete without a load (using session.Advanced.Defer) but it still shows a load of a different object, which could probably be removed from the example.
itamar.synhershko (10) [Avatar] Offline
#2
Re: Correction - Deleting Documents
Fixed, thanks
bernardojr (1) [Avatar] Offline
#3
Re: Correction - Deleting Documents
Starting to go through the January version of the MEAP. This issue still seems to be there. The code snippet has an unnecessary Load and the Key to the DeleteCommandData object does not follow with the sample.

Also, it would be helpful to know the namespaces needed. This might not be a big deal if these snippets will also be available in the code download.
itamar.synhershko (10) [Avatar] Offline
#4
Re: Correction - Deleting Documents
Thanks, this has been since fixed

The code is indeed available for download from https://github.com/synhershko/RavenDB-in-Action