public SisoDbContactRepository()
 {
     string connectionString = WebConfigurationManager.ConnectionStrings["default"]
         .ConnectionString;
     var connectionInfo = new SisoConnectionInfo(
         string.Format(@"sisodb:provider=Sql2008||plain:{0}", connectionString));
     var factory = new SisoDbFactory();
     _database = factory.CreateDatabase(connectionInfo);
     _database.CreateIfNotExists();
 }
		public WebRegistry()
		{
			For<ISisoDatabase>().Singleton().Use(() =>
			{
				var cnInfo = new SisoConnectionInfo("BigCompany");
				var instance = new Sql2008DbFactory().CreateDatabase(cnInfo);
				instance.CreateIfNotExists();
				return instance;
			});
		}
        public AbstractController()
        {
            var cnInfo = new SisoConnectionInfo(ConfigurationManager.AppSettings["nerddinner_connection"]);

            db = new SisoDatabase(cnInfo);
        }