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