예제 #1
0
 /// <summary>
 /// 将高级体检表(AdvancedExamination)数据,根据主键“检查编号(Id)”采用UPDATE操作更新到数据库中,并返回受影响的行数。
 /// </summary>
 /// <param name="advancedExamination">高级体检表(AdvancedExamination)实例对象</param>
 public static int Update(AdvancedExamination advancedExamination)
 {
     CheckValid(advancedExamination);
     return(DataAccess.Update(advancedExamination));
 }
예제 #2
0
 /// <summary>
 /// 将高级体检表(AdvancedExamination)数据,采用INSERT操作插入到数据库中,并返回受影响的行数。
 /// </summary>
 /// <param name="advancedExamination">高级体检表(AdvancedExamination)实例对象</param>
 public static int Insert(AdvancedExamination advancedExamination)
 {
     CheckValid(advancedExamination);
     return(DataAccess.Insert(advancedExamination));
 }