private void InitFeeRate() { DDFeeRate newFeeRate = new DDFeeRate("RateType", 1); this.tbxFeeRate.Text = newFeeRate.Rate.ToString(); DDFeeRate newInterestRate = new DDFeeRate("RateType", 2); this.tbxInterestRate.Text = newInterestRate.Rate.ToString(); }
public void Insert(string Rate, int?RateType, string Description) { DDFeeRate item = new DDFeeRate(); item.Rate = Rate; item.RateType = RateType; item.Description = Description; item.Save(UserName); }
public void Update(int RateID, string Rate, int?RateType, string Description) { DDFeeRate item = new DDFeeRate(); item.MarkOld(); item.IsLoaded = true; item.RateID = RateID; item.Rate = Rate; item.RateType = RateType; item.Description = Description; item.Save(UserName); }
public bool Destroy(object RateID) { return(DDFeeRate.Destroy(RateID) == 1); }
public bool Delete(object RateID) { return(DDFeeRate.Delete(RateID) == 1); }