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

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -