示例#1
0
 public int UpdateIcon(B_TbIcon entity)
 {
     //db.Updateable<B_TbIcon>(entity).WhereColumns(it=>new{it.ID}).ExecuteCommand();
     return(db.Updateable <B_TbIcon>(entity).With(SqlWith.UpdLock).IgnoreColumns(it => new { it.Creater, it.CreateTime }).ExecuteCommand());
 }
示例#2
0
 public int UpdateIcon(B_TbIcon entity)
 {
     return(iconDAL.UpdateIcon(entity));
 }
示例#3
0
        public int AddIcon(B_TbIcon info)
        {
            int id = db.Insertable(info).With(SqlWith.UpdLock).ExecuteReturnIdentity();

            return(id);
        }
示例#4
0
 public int AddIcon(B_TbIcon info)
 {
     return(iconDAL.AddIcon(info));
 }