Inheritance: DictionaryBasedCurrentSessionContextBase
 public void SetUp()
 {
     var sessionContext = new ThreadStaticCurrentSessionContext();
     var host = "localhost";
     var port = 17432;
     var username = "******";
     var password = "******";
     config = Configure.With()
         .SpringBuilder()
         .Db4oRemoteDatabase(sessionContext, () => Db4oClientServer.NewClientConfiguration(),host,port,username,password)
         .Db4oSubscriptionStorage();
 }
        public void SetUp()
        {
            var sessionContext = new ThreadStaticCurrentSessionContext();
            var serverConfig = Db4oClientServer.NewServerConfiguration();
            var dbFileName = "ConfigTest.yap";
            var port = 17432;
            var access = new HostedServerSessionFactory.Access() { Username = "******", Password = "******" };

            config = Configure.With()
                .SpringBuilder()
                .Db4oHostedDatabase(sessionContext, serverConfig, dbFileName, port, access)
                .Db4oSubscriptionStorage();
        }