53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using AIMSDAL;
 | |
| using AIMSModel;
 | |
| using AIMSObjectQuery;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using System.Data;
 | |
| using System.Reflection;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace AIMSBLL
 | |
| {
 | |
|     public partial class BPatientKind
 | |
|     {
 | |
|         public static void Add(PatientKind PatientKindObj)
 | |
|         {
 | |
|             try
 | |
|             {
 | |
|                 DPatientKind.Add(PatientKindObj);
 | |
|                 MessageBox.Show("增加成功!");
 | |
|             }
 | |
|             catch (Exception ex)
 | |
|             {
 | |
|                 MessageBox.Show("增加失败!" + ex.Message);
 | |
|             }
 | |
|         } 
 | |
|         public static PatientKind GetModel(int Id)
 | |
|         {
 | |
|             return DPatientKind.GetModel(Id);
 | |
|         }
 | |
| 
 | |
|         public static DataTable GetDataTable(string strWhere)
 | |
|         {
 | |
|             return DPatientKind.GetDataTable(strWhere);
 | |
|         }
 | |
| 
 | |
|         public static DataTable GetDataTable()
 | |
|         {
 | |
|             return DPatientKind.GetDataTable();
 | |
|         }
 | |
| 
 | |
|         public static bool NameExit(string Name)
 | |
|         {
 | |
|             return DPatientKind.NameExit(Name);
 | |
|         }
 | |
| 
 | |
|         public static bool IsExit(string No)
 | |
|         {
 | |
|             return DPatientKind.IsExit(No);
 | |
|         }
 | |
|     }
 | |
| }
 |