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()); }
public int UpdateIcon(B_TbIcon entity) { return(iconDAL.UpdateIcon(entity)); }
public int AddIcon(B_TbIcon info) { int id = db.Insertable(info).With(SqlWith.UpdLock).ExecuteReturnIdentity(); return(id); }
public int AddIcon(B_TbIcon info) { return(iconDAL.AddIcon(info)); }