Hibernating Rhinos Ltd 
Idan Haim Shalom l Core Team Developer
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811 l Skype: shalomidanhaim
RavenDB paving the way to "Data Made Simple" http://ravendb.net
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd 
Idan Haim Shalom l Core Team Developer
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811 l Skype: shalomidanhaim
RavenDB paving the way to "Data Made Simple" http://ravendb.net
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ravendb/1HkVSAnW1Ig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ravendb+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ravendb/1HkVSAnW1Ig/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ravendb+u...@googlegroups.com.
Hibernating Rhinos Ltd 
Idan Haim Shalom l Core Team Developer
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811 l Skype: shalomidanhaim
RavenDB paving the way to "Data Made Simple" http://ravendb.net
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd 
Idan Haim Shalom l Core Team Developer
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811 l Skype: shalomidanhaim
RavenDB paving the way to "Data Made Simple" http://ravendb.net
Hibernating Rhinos Ltd 
Idan Haim Shalom l Core Team Developer
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811 l Skype: shalomidanhaim
RavenDB paving the way to "Data Made Simple" http://ravendb.net
Hibernating Rhinos Ltd 
Idan Haim Shalom l Core Team Developer
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811 l Skype: shalomidanhaim
RavenDB paving the way to "Data Made Simple" http://ravendb.net
Hibernating Rhinos Ltd 
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ravendb+unsubscribe@googlegroups.com.
Hibernating Rhinos Ltd 
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/
cfg.For<Raven.Client.IDocumentStore>().Singleton().Use(ctx =>
{
var settings = ctx.GetInstance<abc.Core.Interfaces.ISettings>();
var configuration = ctx.GetInstance<IConfigurationManager>();
Raven.Client.IDocumentStore documentStore = null;
settings has credentials and server URL
public GlobalDocumentSession(ISettings settings, IDocumentStore store)
{
this.log.Debug("Create");
this.settings = settings;
this.store = store;
this.Reset();
}
this.store.DatabaseCommands.EnsureDatabaseExists(documentDatabase);
this.realSession = this.store.OpenSession(documentDatabase);
then we perform operations with session
Hibernating Rhinos Ltd 
Grisha Kotler l RavenDB Core Team Developer l Mobile: +972-54-586-8647
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
RavenDB paving the way to "Data Made Simple" http://ravendb.net/