Пример #1
0
        /// <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);
        }
Пример #2
0
        /// <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;
        }