示例#1
0
        /// <inheritdoc/>
        public virtual List <T> GetAllItems <T>() where T : AtomicItem
        {
            if (dbMemoryDirty)
            {
                itemsSource   = dbAccess.GetAllItems <T>();
                dbMemoryDirty = false;
            }

            return(itemsSource as List <T> ?? new List <T>());
        }