/// <summary> /// Insert a ExchangeRate. /// </summary> public void Insert(Model.ExchangeRate exchangeRate) { // // todo:add other logic here // accessor.Insert(exchangeRate); }
/// <summary> /// Update a ExchangeRate. /// </summary> public void Update(Model.ExchangeRate exchangeRate) { // // todo: add other logic here. // accessor.Update(exchangeRate); }
public bool ExistsExcept(Model.ExchangeRate e) { Hashtable paras = new Hashtable(); paras.Add("newId", e.Id); paras.Add("oldId", Get(e.Id) == null?null:Get(e.Id).Id); return(sqlmapper.QueryForObject <bool>("ExchangeRate.existsexcept", paras)); }
public bool IsExistsSame(Model.ExchangeRate model) { Hashtable ht = new Hashtable(); ht.Add("YearValue", model.YearValue); ht.Add("MonthValue", model.MonthValue); ht.Add("Currency", model.Currency); ht.Add("Id", model.Id); return(sqlmapper.QueryForObject <bool>("ExchangeRate.IsExistsSame", ht)); }
public bool IsExistsSame(Model.ExchangeRate model) { return(accessor.IsExistsSame(model)); }
public bool ExistsExcept(Model.ExchangeRate e) { return(accessor.ExistsExcept(e)); }
public void Update(Model.ExchangeRate e) { this.Update <Model.ExchangeRate>(e); }
public void Insert(Model.ExchangeRate e) { this.Insert <Model.ExchangeRate>(e); }