public int addEmailLog(Tz888.Model.Email.EmailLogModel model) { string sqlStr = "insert EmailLogTab(Log_EmailID,Log_UserID,Log_IsRead)" + " values (" + model.Log_EmailID + "," + model.Log_UserID + "," + model.Log_IsRead + ");select @@identity as ID"; object flag = Tz888.DBUtility.DbHelperSQL.GetSingle(sqlStr); return(int.Parse(flag.ToString())); }
public int addEmailLog(Tz888.Model.Email.EmailLogModel model) { return(dal.addEmailLog(model));; }