コード例 #1
0
 /// <summary>
 /// 创建短信咨询
 /// </summary>
 /// <param name="entity">短信实体</param>
 /// <returns>新增记录系统编号</returns>
 /// <remarks>2014-02-21 邵斌 创建</remarks>
 public int Create(CrSmsQuestion entity)
 {
     return(ICrSmsQuestionDao.Instance.Create(entity));
 }
コード例 #2
0
 /// <summary>
 /// 创建短信咨询
 /// </summary>
 /// <param name="entity">短信实体</param>
 /// <returns>新增记录系统编号</returns>
 /// <remarks>2014-02-21 邵斌 创建</remarks>
 public override int Create(CrSmsQuestion entity)
 {
     return(Context.Insert("CrSmsQuestion", entity).AutoMap(o => o.SysNo).ExecuteReturnLastId <int>("SysNo"));
 }
コード例 #3
0
 /// <summary>
 /// 创建短信咨询
 /// </summary>
 /// <param name="entity">短信实体</param>
 /// <returns>新增记录系统编号</returns>
 /// <remarks>2014-02-21 邵斌 创建</remarks>
 public abstract int Create(CrSmsQuestion entity);