/// <summary> /// 等待数据事件缓存数据初始化完成 /// </summary> public static void WaitEventCacheLoaded() { if (!isEventCacheLoaded) { sqlTable.WaitCreateCache(); isEventCacheLoaded = true; } }
/// <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; } }