Shuxia Ning
2024-12-17 24fb6d95e0416ac3c00a93b87359567e45568a89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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);
 
    }
}