Using DI to inject sessions into my services and would like a way to configure these options across my solution. What's the best way to do this?
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
You can call both of them right after calling DocumentStore.OpenSession(), can't you? It will set up appropriate options for SaveChanges call.
On Thu, Apr 19, 2018 at 9:29 PM cutting chai <chiefbro...@gmail.com> wrote:
Using DI to inject sessions into my services and would like a way to configure these options across my solution. What's the best way to do this?--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
On Fri, Apr 20, 2018 at 2:46 PM, Arkadiusz Palinski <ar...@ravendb.net> wrote:
You can call both of them right after calling DocumentStore.OpenSession(), can't you? It will set up appropriate options for SaveChanges call.
On Thu, Apr 19, 2018 at 9:29 PM cutting chai <chiefbro...@gmail.com> wrote:
Using DI to inject sessions into my services and would like a way to configure these options across my solution. What's the best way to do this?--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.