using System; using System.Data; namespace OT.IDAL { /// /// Interface OTB_SYS_Rules /// public interface IOTB_SYS_Rules { #region Method /// /// 是否存在該記錄 /// bool Exists( string RuleID); /// /// 增加一條資料 /// bool Add(OT.Model.OTB_SYS_Rules model); /// /// 更新一條資料 /// bool Update(OT.Model.OTB_SYS_Rules model); /// /// 刪除一條資料 /// bool Delete( string RuleID); bool DeleteList(string RuleIDlist); /// /// 得到一個對象實體 /// OT.Model.OTB_SYS_Rules GetModel(string RuleID); /// /// 獲得資料列表(加上所屬人員判斷) /// DataSet GetRuletoMemberList(int StartRecordIndex, int EndRecordIndex, string RuleID, string RuleName, string MemberID, string SortExpression); /// /// 獲得資料總筆數(加上所屬人員判斷) /// int GetRuletoMemberListCount(string RuleID, string RuleName, string MemberID); #endregion Method } }