NServiceBus.ConfigureDb4oSessionFactory.Db4oHostedDatabase C# (CSharp) Method

Db4oHostedDatabase() public static method

public static Db4oHostedDatabase ( this config ) : Configure
config this
return Configure
        public static Configure Db4oHostedDatabase(this Configure config, params HostedServerSessionFactory.Access[] access)
        {
            var configSettings = Configure.GetConfigSection<Db4oConnectionConfig>();
            var currentSessionContextType = Type.GetType(configSettings.CurrentSessionContext);
            var currentSessionContext = (ICurrentSessionContext)Activator.CreateInstance(currentSessionContextType);

            Db4oHostedDatabase(config, currentSessionContext, Db4oClientServer.NewServerConfiguration(), configSettings.DatabaseFile, configSettings.Port, access);

            return config;
        }

Same methods

ConfigureDb4oSessionFactory::Db4oHostedDatabase ( this config, ICurrentSessionContext currentSessionContext, IServerConfiguration serverConfig, string dbFileName, int port ) : Configure
ConfigureDb4oSessionFactory