/// <summary> /// 插入一条新记录 /// </summary> /// <param name="roleRight">RoleRight实体</param> /// <returns>插入记录的主键</returns> public static object Insert(RoleRight roleRight) { Object id = DataAccessUtility.Insert<RoleRight>(roleRight); return id; }
/// <summary> /// 修改RoleRight表中的某条记录 /// </summary> /// <param name="user">要修改记录对应的实体</param> public static void Update(RoleRight roleRight) { DataAccessUtility.Update<RoleRight>(roleRight); }
/// <summary> /// 删除RoleRight表中的某条记录 /// </summary> /// <param name="user">要删除记录的对应的实体</param> public static void Delete(RoleRight roleRight) { DataAccessUtility.Delete<RoleRight>(roleRight); }