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;
}