Beispiel #1
0
 public void Init()
 {
     //init db
     #if RAVENDBSET
     Database = new RavenDatabaseManager();
     #endif
 }
Beispiel #2
0
        protected Server(HostEndPoint endPeer)
        {
            Host = new Network.Server(endPeer);

            #if USE_RAVENDB
            Database = new RavenDatabaseManager();
            #else
            Database = new NullDatabaseManager();
            #endif
        }