2022-09-26 17:39:34 +08:00

41 lines
809 B
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 BRole
{
public static void Add(Role RoleObj)
{
try
{
DRole.Add(RoleObj);
MessageBox.Show("增加成功!");
}
catch (Exception ex)
{
MessageBox.Show("增加失败!" + ex.Message);
}
}
public static Role GetModel(int Id)
{
return DRole.GetModel(Id);
}
public static DataTable GetDataTable()
{
return DRole.GetDataTable();
}
}
}