import - RavenDB and batch API -
hi in project doing import if lets products.
we have web service maybe 10 calls 1 import, need have transaction can on several requests.
the import have both new products needs created , existing products needs updated.
right way can know if product in our system or not @ name or previous name on product want import.
so questions is.
can transaction api described here http://ravendb.net/docs/client-api/advanced/databasecommands, used batch api described here http://ravendb.net/docs/1.0/client-api/advanced/databasecommands/batch. (which sounds not work if 1 read batch api documentation).
and if not should use database commands connected transaction? in documentation databasecommands can't see how transaction guid , operations can connected?
the easiest way handle aggregate things in memory , have single savechanges call in end.
Comments
Post a Comment