コード例 #1
0
        public List <Guid> GetBankAccountsFromCache()
        {
            BusinessAccountCache oBA = (BusinessAccountCache)GlobalCachingProvider.Instance.GetItem(ImperaturGlobal.BusinessAccountCache);

            return(oBA.GetCache().Where(b => b.Item2.Equals(AccountType.Bank.ToString())).Select(b =>
                                                                                                 new Guid(b.Item1)).ToList());
        }
コード例 #2
0
        private List <Guid> GetBusinessAccountsFromCache()
        {
            BusinessAccountCache oBA = (BusinessAccountCache)GlobalCachingProvider.Instance.GetItem(ImperaturGlobal.BusinessAccountCache);

            return(oBA.GetCache().Select(b =>
                                         new Guid(b.Item1)).ToList());
        }