private void uplog(string _whcode, string _sms) { trn_log_pos lp = new trn_log_pos(); lp.whcode = _whcode; lp.workdate = DateTime.Now; lp.sms = _sms; sup.trn_log_pos.InsertOnSubmit(lp); sup.SubmitChanges(); SendLog(_whcode, _sms); }
partial void Updatetrn_log_pos(trn_log_pos instance);
partial void Deletetrn_log_pos(trn_log_pos instance);
partial void Inserttrn_log_pos(trn_log_pos instance);