public void Insert(int MarketKey, DateTime DateCreated)
        {
            CurrentTx item = new CurrentTx();

            item.MarketKey = MarketKey;

            item.DateCreated = DateCreated;


            item.Save(UserName);
        }
        public void Update(int CurrentTxKey, int MarketKey, DateTime DateCreated)
        {
            CurrentTx item = new CurrentTx();

            item.MarkOld();
            item.IsLoaded = true;

            item.CurrentTxKey = CurrentTxKey;

            item.MarketKey = MarketKey;

            item.DateCreated = DateCreated;

            item.Save(UserName);
        }