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); }
public bool Destroy(object CurrentTxKey) { return(CurrentTx.Destroy(CurrentTxKey) == 1); }
public bool Delete(object CurrentTxKey) { return(CurrentTx.Delete(CurrentTxKey) == 1); }