/// <summary>
 /// 构造函数
 /// </summary>
 static FrameWorkOnline()
 {
     IFrameWorkOnline online;
     if (Common.GetOnlineCountType == OnlineCountType.DataBase)
     {
         online = new FrameWorkOnlineDataBase();
     }
     else
     {
         online = new FrameWorkOnlineCache();
     }
     _Online = online;
 }
Exemple #2
0
        /// <summary>
        /// 构造函数
        /// </summary>
        static FrameWorkOnline()
        {
            IFrameWorkOnline online;

            if (Common.GetOnlineCountType == OnlineCountType.DataBase)
            {
                online = new FrameWorkOnlineDataBase();
            }
            else
            {
                online = new FrameWorkOnlineCache();
            }
            _Online = online;
        }