You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.4 KiB

using System;
using System.Data;
namespace OT.IDAL
{
/// <summary>
/// OTB_SYS_Authorize
/// </summary>
public interface IOTB_SYS_Authorize
{
#region 成员方法
/// <summary>
/// 是否存在該記錄
/// </summary>
bool Exists( string RuleID, string ProgramID);
/// <summary>
/// 增加一條資料
/// </summary>
bool Add(OT.Model.OTB_SYS_Authorize model);
/// <summary>
/// 更新一條資料
/// </summary>
bool Update(OT.Model.OTB_SYS_Authorize model);
/// <summary>
/// 刪除一條資料
/// </summary>
bool Delete(string RuleID, string ProgramID);
/// <summary>
/// 得到一個對象實體
/// </summary>
OT.Model.OTB_SYS_Authorize GetModel(string RuleID, string ProgramID);
/// <summary>
/// 儲存權限表
/// </summary>
bool Save(OT.Model.OTB_SYS_Authorize model);
/// <summary>
/// 複製權限
/// </summary>
bool GetDirectRoleByRoleSource(string strRoleSource, string strCreateUser, string strDirectRole);
/// <summary>
/// 根據登入者判斷權限大小
/// </summary>
DataSet GetListByRuleID(string strMemberID);
#endregion 成员方法
#region MethodEx
#endregion MethodEx
}
}