/// <summary> /// 创建短信咨询 /// </summary> /// <param name="entity">短信实体</param> /// <returns>新增记录系统编号</returns> /// <remarks>2014-02-21 邵斌 创建</remarks> public int Create(CrSmsQuestion entity) { return(ICrSmsQuestionDao.Instance.Create(entity)); }
/// <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")); }
/// <summary> /// 创建短信咨询 /// </summary> /// <param name="entity">短信实体</param> /// <returns>新增记录系统编号</returns> /// <remarks>2014-02-21 邵斌 创建</remarks> public abstract int Create(CrSmsQuestion entity);