/// <summary> /// 获取默认的Session管理器 /// </summary> /// <returns></returns> public static ISessionSet GetDefaultSessionSet() { if (defaultSessionSet == null) { LevelDbSessionProvider levelDb = new LevelDbSessionProvider(); levelDb.Initilize(); defaultSessionSet = levelDb; } return(defaultSessionSet); }
/// <summary> /// 获取默认的Session管理器 /// </summary> /// <returns></returns> public static ISessionSet GetDefaultSessionSet() { if (defaultSessionSet == null) { LevelDbSessionProvider levelDb = new LevelDbSessionProvider(); levelDb.Initilize(); defaultSessionSet = levelDb; } return defaultSessionSet; }