public int UpdateMenu(B_TbMenu entity) { return(db.Updateable <B_TbMenu>(entity).With(SqlWith.UpdLock).IgnoreColumns(it => new { it.Creater, it.CreateTime, it.MenuType }).ExecuteCommand()); }
public int UpdateMenu(B_TbMenu info) { return(menuDAL.UpdateMenu(info)); }
public int AddMenu(B_TbMenu info) { int id = db.Insertable(info).With(SqlWith.UpdLock).ExecuteReturnIdentity(); return(id); }
public int AddMenu(B_TbMenu info) { return(menuDAL.AddMenu(info)); }