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