public void Insert(string Price, DateTime Datechanged, int MarketKey, string Volume, int?Level) { MarketDatum item = new MarketDatum(); item.Price = Price; item.Datechanged = Datechanged; item.MarketKey = MarketKey; item.Volume = Volume; item.Level = Level; item.Save(UserName); }
public bool Destroy(object MarketKey) { return(MarketDatum.Destroy(MarketKey) == 1); }
public bool Delete(object MarketKey) { return(MarketDatum.Delete(MarketKey) == 1); }