Beispiel #1
0
 /// <summary>
 /// 添加Eas同步日志
 /// </summary>
 /// <param name="model">实体</param>
 /// <returns></returns>
 /// <remarks>2013-10-22 黄志勇 创建</remarks>
 public int EasSyncLogCreate(EasSyncLog model)
 {
     return(IEasDao.Instance.EasSyncLogCreate(model));
 }
Beispiel #2
0
 /// <summary>
 /// 更新实体
 /// </summary>
 /// <param name="entity">实体</param>
 /// <returns></returns>
 /// <remarks>2013-10-23 黄志勇 创建</remarks>
 public int Update(EasSyncLog entity)
 {
     return(IEasDao.Instance.Update(entity));
 }
Beispiel #3
0
 /// <summary>
 /// 更新实体
 /// </summary>
 /// <param name="entity">实体</param>
 /// <returns>受影响行数</returns>
 /// <remarks>2013-10-23 黄志勇 创建</remarks>
 public abstract int Update(EasSyncLog entity);
Beispiel #4
0
 /// <summary>
 /// 添加Eas同步日志
 /// </summary>
 /// <param name="model">实体</param>
 /// <returns>日志ID</returns>
 ///  <remarks>2013-10-22 黄志勇 创建</remarks>
 public abstract int EasSyncLogCreate(EasSyncLog model);
Beispiel #5
0
 /// <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"));
 }
Beispiel #6
0
 /// <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());
 }