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