AI.nRepo.Raven.RavenDbSessionBuilder.RavenDbSessionBuilder C# (CSharp) Method

RavenDbSessionBuilder() public method

public RavenDbSessionBuilder ( string connString, string databaseName ) : System
connString string
databaseName string
return System
        public RavenDbSessionBuilder(string connString, string databaseName)
        {
            var documentStore = new DocumentStore
                {
                    Url = connString,
                    DefaultDatabase = databaseName
                }.Initialize();
            this.Session = documentStore;
        }
RavenDbSessionBuilder