/// <summary>
 /// 等待数据事件缓存数据初始化完成
 /// </summary>
 public static void WaitEventCacheLoaded()
 {
     if (!isEventCacheLoaded)
     {
         sqlTable.WaitCreateCache();
         isEventCacheLoaded = true;
     }
 }
Exemple #2
0
            /// <summary>
            /// 等待数据初始化完成
            /// </summary>
            public static void WaitSqlLoaded()
            {
                if (!isSqlLoaded)
                {
                    sqlTable /**/.WaitLoad();
                    isSqlLoaded = true;
                }
            }

            private static bool isEventCacheLoaded;
            /// <summary>
            /// 等待数据事件缓存数据初始化完成
            /// </summary>
            public static void WaitEventCacheLoaded()
            {
                if (!isEventCacheLoaded)
                {
                    sqlTable /**/.WaitCreateCache();
                    isEventCacheLoaded = true;
                }
            }