Beispiel #1
0
        public static void LoadAccount(Account account, bool add = true)
        {
            TradeBiz.LoadAccount(account);

            string key = "A_" + account.id;

            if (add && TradeRA.KeyExists(key))
            {
                return;
            }

            if (add)
            {
                AccountRA.Add(account, key);
            }
            else
            {
                AccountRA.Update(account, key);
            }
        }