示例#1
0
        /// <summary>
        /// 订单管理 删除
        /// </summary>
        public static bool Delete(string id, out string errmsg)
        {
            self_teacher course = new self_teacher()
            {
                seqid = Convert.ToInt32(id)
            };

            return(OrmClass.AutoSqlExecute(course, "delete", out errmsg));
        }
示例#2
0
 /// <summary>
 /// 订单管理 更新数据
 /// </summary>
 /// <param name="self_course">要更新的订单管理对象</param>
 /// <param name="errmsg">错误信息</param>
 /// <returns>返回对象</returns>
 public static bool Update(self_teacher info, out string errmsg)
 {
     return(OrmClass.AutoSqlExecute(info, "update", out errmsg));
 }
示例#3
0
 public static bool Add(self_teacher info, out string errmsg)
 {
     return(OrmClass.AutoSqlExecute(info, "insert", out errmsg));
 }