54 lines
1.2 KiB
C#
54 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 BDosageKind
|
|
{
|
|
public static void Add(DosageKind DosageKindObj)
|
|
{
|
|
try
|
|
{
|
|
DDosageKind.Add(DosageKindObj);
|
|
MessageBox.Show("增加成功!");
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MessageBox.Show("增加失败!" + ex.Message);
|
|
}
|
|
}
|
|
|
|
//public static void Update(DosageKind DosageKindObj)
|
|
//{
|
|
// try
|
|
// {
|
|
// new DDosageKind.Update(DosageKindObj);
|
|
// MessageBox.Show("修改成功!");
|
|
|
|
// }
|
|
// catch (Exception ex)
|
|
// {
|
|
// MessageBox.Show("修改失败!" + ex.Message);
|
|
// }
|
|
//}
|
|
|
|
public static DosageKind GetModel(int Id)
|
|
{
|
|
return DDosageKind.GetModel(Id);
|
|
}
|
|
|
|
public static DataTable GetDataTable()
|
|
{
|
|
return DDosageKind.GetDataTable();
|
|
}
|
|
}
|
|
}
|