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