Exemple #1
0
 public int ModifyAskModel(T_AskManagerModel model)
 {
     model.ask_operUser = HCQ2UI_Helper.OperateContext.Current.Usr.user_name;
     return(Modify(model.ToPOCO(), s => s.ask_id == model.ask_id, "user_name", "ask_startDate", "ask_endDate",
                   "ask_day", "ask_title",
                   "ask_context", "ask_type", "ask_status", "ask_operUser", "ask_operDate"));
 }
Exemple #2
0
 public int AddAskModel(T_AskManagerModel model)
 {
     model.ask_operUser = HCQ2UI_Helper.OperateContext.Current.Usr.user_name;
     return(Add(model.ToPOCO()));
 }