/// <summary> /// Factory building a cache using to optimize the notification effect /// Virtual method (in sub class, define it the order of tables to notify) /// </summary> /// <param name="schema"></param> /// <returns></returns> public override DSCache GetCache(DSDatabase schema) { DSCache cache = base.GetCache(schema); // Administration cache.AddTable("Customer"); cache.AddTable("Language"); cache.AddTable("User"); cache.AddTable("Module"); cache.AddTable("UserModule"); return(cache); }
/// <summary> /// Factory building a cache using to optimize the notification effect /// Virtual method (in sub class, define it the order of tables to notify) /// </summary> /// <param name="schema"></param> /// <returns></returns> public override DSCache GetCache(DSDatabase schema) { DSCache cache = base.GetCache(schema); // Référentiel cache.AddTable("Parameter"); return cache; }