/// <summary> /// 添加Eas同步日志 /// </summary> /// <param name="model">实体</param> /// <returns></returns> /// <remarks>2013-10-22 黄志勇 创建</remarks> public int EasSyncLogCreate(EasSyncLog model) { return(IEasDao.Instance.EasSyncLogCreate(model)); }
/// <summary> /// 更新实体 /// </summary> /// <param name="entity">实体</param> /// <returns></returns> /// <remarks>2013-10-23 黄志勇 创建</remarks> public int Update(EasSyncLog entity) { return(IEasDao.Instance.Update(entity)); }
/// <summary> /// 更新实体 /// </summary> /// <param name="entity">实体</param> /// <returns>受影响行数</returns> /// <remarks>2013-10-23 黄志勇 创建</remarks> public abstract int Update(EasSyncLog entity);
/// <summary> /// 添加Eas同步日志 /// </summary> /// <param name="model">实体</param> /// <returns>日志ID</returns> /// <remarks>2013-10-22 黄志勇 创建</remarks> public abstract int EasSyncLogCreate(EasSyncLog model);
/// <summary> /// 添加Eas同步日志 /// </summary> /// <param name="model">实体</param> /// <returns>日志ID</returns> /// <remarks>2013-10-22 黄志勇 创建</remarks> public override int EasSyncLogCreate(EasSyncLog model) { return(Context.Insert("EasSyncLog", model).AutoMap(x => x.SysNo).ExecuteReturnLastId <int>("SysNo")); }
/// <summary> /// 更新实体 /// </summary> /// <param name="entity">实体</param> /// <returns>受影响行数</returns> /// <remarks>2013-10-23 黄志勇 创建</remarks> public override int Update(EasSyncLog entity) { return(Context.Update("EasSyncLog", entity) .AutoMap(o => o.SysNo) .Where("SysNo", entity.SysNo).Execute()); }