lixiaojun
2024-07-11 da1c001309ed262c55514633490ab8c1b8f68916
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
namespace Yw.BLL
{
    /// <summary>
    /// 
    /// </summary>
    public class BimfaceFileRelationLabel : Yw.CAL.IBimfaceFileRelationLabel
    {
        private readonly Yw.CAL.IBimfaceFileRelationLabel _cal = CALCreateHelper.CreateCAL<Yw.CAL.IBimfaceFileRelationLabel>();
 
        #region Query 
        public async Task<List<BimfaceFileRelationLabelDto>> GetAll()
        {
            return await _cal.GetAll();
        }
 
        public async Task<BimfaceFileRelationLabelDto> GetByID(long ID)
        {
            return await _cal.GetByID(ID);
        }
 
        public async Task<List<BimfaceFileRelationLabelDto>> GetByIds(List<long> Ids)
        {
            return await _cal.GetByIds(Ids);
        }
 
        public Task<List<BimfaceFileRelationLabelDto>> GetByRelationID(long RelationID)
        {
            return _cal.GetByRelationID(RelationID);
        }
 
        #endregion
 
        #region Insert
 
        public async Task<long> Insert(AddBimfaceFileRelationLabelInput model)
        {
            return await _cal.Insert(model);
        }
 
        public async Task<bool> Inserts(List<AddBimfaceFileRelationLabelInput> list)
        {
            return await _cal.Inserts(list);
        }
 
        public async Task<bool> BulkInserts(List<AddBimfaceFileRelationLabelInput> list)
        {
            return await _cal.BulkInserts(list);
        }
 
        #endregion
 
        #region Update
 
        public async Task<bool> Update(UpdateBimfaceFileRelationLabelInput model)
        {
            return await _cal.Update(model);
        }
 
        public async Task<bool> Updates(List<UpdateBimfaceFileRelationLabelInput> list)
        {
            return await _cal.Updates(list);
        }
 
        public async Task<bool> BulkUpdates(List<UpdateBimfaceFileRelationLabelInput> list)
        {
            return await _cal.BulkUpdates(list);
        }
 
        public Task<bool> UpdateContent(long ID, string Content)
        {
            return _cal.UpdateContent(ID, Content);
        }
 
        public Task<bool> Save(SaveBimfaceFileRelationLabelInput input)
        {
            return _cal.Save(input);
        }
 
        #endregion
 
 
        #region Delete 
 
        public async Task<bool> DeleteByID(long ID)
        {
            return await _cal.DeleteByID(ID);
        }
        public async Task<bool> DeleteByIds(List<long> Ids)
        {
            return await _cal.DeleteByIds(Ids);
        }
 
        public async Task<bool> DeleteAll()
        {
            return await _cal.DeleteAll();
        }
 
 
 
 
 
 
        #endregion
    }
}