AI.nRepo.Raven.RavenDbSessionBuilder.RavenDbSessionBuilder C# (CSharp) 메소드

RavenDbSessionBuilder() 공개 메소드

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