47 lines
1.0 KiB
C#
47 lines
1.0 KiB
C#
using System;
|
|
using AIMSDAL;
|
|
using AIMSModel;
|
|
using AIMSObjectQuery;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
using System.Data;
|
|
|
|
namespace AIMSBLL
|
|
{
|
|
public partial class BOperation
|
|
{
|
|
public static bool IsExit(string Name)
|
|
{
|
|
return DOperation.IsExit(Name);
|
|
}
|
|
public static void Add(Operation OperationObj)
|
|
{
|
|
try
|
|
{
|
|
DOperation.Add(OperationObj);
|
|
MessageBox.Show("增加成功!");
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MessageBox.Show("增加失败!" + ex.Message);
|
|
}
|
|
}
|
|
|
|
public static Operation GetModel(int Id)
|
|
{
|
|
return DOperation.GetModel(Id);
|
|
}
|
|
|
|
public static DataTable GetDataTable(string HelpCode)
|
|
{
|
|
return DOperation.GetDataTable(HelpCode);
|
|
}
|
|
|
|
public static DataTable GetDataTable()
|
|
{
|
|
return DOperation.GetDataTable();
|
|
}
|
|
}
|
|
}
|