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.
71 lines
2.4 KiB
71 lines
2.4 KiB
using System;
|
|
using System.Data;
|
|
using System.Collections.Generic;
|
|
namespace OT.IDAL
|
|
{
|
|
/// <summary>
|
|
/// Interface OTB_SYS_Attachments
|
|
/// </summary>
|
|
public interface IOTB_SYS_Attachments
|
|
{
|
|
#region Method
|
|
/// <summary>
|
|
/// 是否存在該記錄
|
|
/// </summary>
|
|
bool Exists(string TargetRelationID);
|
|
/// <summary>
|
|
/// 增加一條資料
|
|
/// </summary>
|
|
bool Add(OT.Model.OTB_SYS_Attachments model);
|
|
/// <summary>
|
|
/// 更新一條資料
|
|
/// </summary>
|
|
bool Update(OT.Model.OTB_SYS_Attachments model);
|
|
/// <summary>
|
|
/// 刪除一條資料
|
|
/// </summary>
|
|
bool Delete(string TargetRelationID);
|
|
bool DeleteList(string TargetRelationIDlist);
|
|
/// <summary>
|
|
/// 得到一個對象實體
|
|
/// </summary>
|
|
OT.Model.OTB_SYS_Attachments GetModel(string TargetRelationID);
|
|
/// <summary>
|
|
/// 得到一個對象實體集合
|
|
/// </summary>
|
|
List<OT.Model.OTB_SYS_Attachments> GetModelListBySourceRelationID(string SourceRelationID);
|
|
/// <summary>
|
|
/// 獲得資料列表
|
|
/// </summary>
|
|
DataSet GetList(int StartRecordIndex, int EndRecordIndex, string SourceRelationID, string SortExpression);
|
|
/// <summary>
|
|
/// 獲得資料總筆數
|
|
/// </summary>
|
|
int GetListCount(string SourceRelationID);
|
|
|
|
/// <summary>
|
|
/// 獲取園區地圖圖示名稱和坐標列表
|
|
/// </summary>
|
|
DataSet GetPlaceImgFileNameList();
|
|
/// <summary>
|
|
/// 更新類別欄位
|
|
/// </summary>
|
|
bool UpdateFileType(string TargetRelationID, string FileType, string ModifyUser);
|
|
/// <summary>
|
|
/// 更新封面欄位
|
|
/// </summary>
|
|
bool UpdateIsTitlePage(string TargetRelationID, string IsTitlePage, string ModifyUser);
|
|
/// <summary>
|
|
/// 更新對內公開欄位
|
|
/// </summary>
|
|
bool UpdateIsProtected(string TargetRelationID, string IsProtected, string ModifyUser);
|
|
/// <summary>
|
|
/// 更新對外公開欄位
|
|
/// </summary>
|
|
bool UpdateIsPublic(string TargetRelationID, string IsPublic, string ModifyUser);
|
|
|
|
#endregion Method
|
|
|
|
bool ChangeMemo(string strFileGuid, string strFileMemo, string ModifyUser);
|
|
}
|
|
}
|