using Yw.DAL;
namespace HStation.DAL
{
///
/// 图表关联
///
public interface IPhartDiagramRelation : IBaseDAL, IUpdateSorter
{
///
/// 插入拓展
///
long InsertEx(Entity.PhartDiagramRelation relation, Yw.Entity.PhartDiagram diagram, List graphList);
///
/// 更新拓展
///
bool UpdateEx(Entity.PhartDiagramRelation relation, Yw.Entity.PhartDiagram diagram, List graphList);
///
/// 更新 OtherName
///
bool UpdateOtherName(long ID, string OtherName);
///
/// 更新 Importance
///
bool UpdateImportance(long ID, int Importance);
///
/// 更新 Description
///
bool UpdateDescription(long ID, string Description);
///
/// 通过 ObjectType ObjectID 删除
///
bool DeleteByObjectTypeAndObjectID(string ObjectType, long ObjectID);
///
/// 通过 DiagramID 删除(删除所有映射,图表,图形)
///
bool DeleteByDiagramID(long DiagramID);
}
}