@memberjunction/core-entities 0.9.85 → 0.9.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,14 +15,29 @@ const global_1 = require("@memberjunction/global");
15
15
  * * Schema: admin
16
16
  * * Base Table: Company
17
17
  * * Base View: vwCompanies
18
- * @description List of Companies/Organizations within the top-level business, used for subsidiaries
18
+ * * @description List of Companies/Organizations within the top-level business, used for subsidiaries
19
19
  * * Primary Key: ID
20
- * * Description: List of Companies/Organizations within the top-level business, used for subsidiaries
21
20
  * @extends {BaseEntity}
22
21
  * @class
23
22
  * @public
24
23
  */
25
24
  let CompanyEntity = class CompanyEntity extends core_1.BaseEntity {
25
+ /**
26
+ * Loads the Companies record from the database
27
+ * @param ID: Number - primary key value to load the Companies record.
28
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
29
+ * @returns {Promise<boolean>} - true if successful, false otherwise
30
+ * @public
31
+ * @async
32
+ * @memberof CompanyEntity
33
+ * @method
34
+ * @override
35
+ */
36
+ async Load(ID, EntityRelationshipsToLoad = null) {
37
+ const pkeyValues = [];
38
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
39
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
40
+ }
26
41
  /**
27
42
  * * Field Name: ID
28
43
  * * SQL Data Type: int
@@ -110,14 +125,29 @@ exports.CompanyEntity = CompanyEntity = __decorate([
110
125
  * * Schema: admin
111
126
  * * Base Table: Employee
112
127
  * * Base View: vwEmployees
113
- * @description Employees
128
+ * * @description Employees
114
129
  * * Primary Key: ID
115
- * * Description: Employees
116
130
  * @extends {BaseEntity}
117
131
  * @class
118
132
  * @public
119
133
  */
120
134
  let EmployeeEntity = class EmployeeEntity extends core_1.BaseEntity {
135
+ /**
136
+ * Loads the Employees record from the database
137
+ * @param ID: Number - primary key value to load the Employees record.
138
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
139
+ * @returns {Promise<boolean>} - true if successful, false otherwise
140
+ * @public
141
+ * @async
142
+ * @memberof EmployeeEntity
143
+ * @method
144
+ * @override
145
+ */
146
+ async Load(ID, EntityRelationshipsToLoad = null) {
147
+ const pkeyValues = [];
148
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
149
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
150
+ }
121
151
  /**
122
152
  * * Field Name: ID
123
153
  * * SQL Data Type: int
@@ -291,12 +321,27 @@ exports.EmployeeEntity = EmployeeEntity = __decorate([
291
321
  * * Base Table: UserFavorite
292
322
  * * Base View: vwUserFavorites
293
323
  * * Primary Key: ID
294
- * * Description: null
295
324
  * @extends {BaseEntity}
296
325
  * @class
297
326
  * @public
298
327
  */
299
328
  let UserFavoriteEntity = class UserFavoriteEntity extends core_1.BaseEntity {
329
+ /**
330
+ * Loads the User Favorites record from the database
331
+ * @param ID: Number - primary key value to load the User Favorites record.
332
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
333
+ * @returns {Promise<boolean>} - true if successful, false otherwise
334
+ * @public
335
+ * @async
336
+ * @memberof UserFavoriteEntity
337
+ * @method
338
+ * @override
339
+ */
340
+ async Load(ID, EntityRelationshipsToLoad = null) {
341
+ const pkeyValues = [];
342
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
343
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
344
+ }
300
345
  /**
301
346
  * * Field Name: ID
302
347
  * * SQL Data Type: int
@@ -391,12 +436,27 @@ exports.UserFavoriteEntity = UserFavoriteEntity = __decorate([
391
436
  * * Base Table: EmployeeCompanyIntegration
392
437
  * * Base View: vwEmployeeCompanyIntegrations
393
438
  * * Primary Key: ID
394
- * * Description: null
395
439
  * @extends {BaseEntity}
396
440
  * @class
397
441
  * @public
398
442
  */
399
443
  let EmployeeCompanyIntegrationEntity = class EmployeeCompanyIntegrationEntity extends core_1.BaseEntity {
444
+ /**
445
+ * Loads the Employee Company Integrations record from the database
446
+ * @param ID: Number - primary key value to load the Employee Company Integrations record.
447
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
448
+ * @returns {Promise<boolean>} - true if successful, false otherwise
449
+ * @public
450
+ * @async
451
+ * @memberof EmployeeCompanyIntegrationEntity
452
+ * @method
453
+ * @override
454
+ */
455
+ async Load(ID, EntityRelationshipsToLoad = null) {
456
+ const pkeyValues = [];
457
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
458
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
459
+ }
400
460
  /**
401
461
  * * Field Name: ID
402
462
  * * SQL Data Type: int
@@ -480,12 +540,27 @@ exports.EmployeeCompanyIntegrationEntity = EmployeeCompanyIntegrationEntity = __
480
540
  * * Base Table: EmployeeRole
481
541
  * * Base View: vwEmployeeRoles
482
542
  * * Primary Key: ID
483
- * * Description: null
484
543
  * @extends {BaseEntity}
485
544
  * @class
486
545
  * @public
487
546
  */
488
547
  let EmployeeRoleEntity = class EmployeeRoleEntity extends core_1.BaseEntity {
548
+ /**
549
+ * Loads the Employee Roles record from the database
550
+ * @param ID: Number - primary key value to load the Employee Roles record.
551
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
552
+ * @returns {Promise<boolean>} - true if successful, false otherwise
553
+ * @public
554
+ * @async
555
+ * @memberof EmployeeRoleEntity
556
+ * @method
557
+ * @override
558
+ */
559
+ async Load(ID, EntityRelationshipsToLoad = null) {
560
+ const pkeyValues = [];
561
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
562
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
563
+ }
489
564
  /**
490
565
  * * Field Name: ID
491
566
  * * Display Name: ID
@@ -555,12 +630,27 @@ exports.EmployeeRoleEntity = EmployeeRoleEntity = __decorate([
555
630
  * * Base Table: EmployeeSkill
556
631
  * * Base View: vwEmployeeSkills
557
632
  * * Primary Key: ID
558
- * * Description: null
559
633
  * @extends {BaseEntity}
560
634
  * @class
561
635
  * @public
562
636
  */
563
637
  let EmployeeSkillEntity = class EmployeeSkillEntity extends core_1.BaseEntity {
638
+ /**
639
+ * Loads the Employee Skills record from the database
640
+ * @param ID: Number - primary key value to load the Employee Skills record.
641
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
642
+ * @returns {Promise<boolean>} - true if successful, false otherwise
643
+ * @public
644
+ * @async
645
+ * @memberof EmployeeSkillEntity
646
+ * @method
647
+ * @override
648
+ */
649
+ async Load(ID, EntityRelationshipsToLoad = null) {
650
+ const pkeyValues = [];
651
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
652
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
653
+ }
564
654
  /**
565
655
  * * Field Name: ID
566
656
  * * Display Name: ID
@@ -630,12 +720,27 @@ exports.EmployeeSkillEntity = EmployeeSkillEntity = __decorate([
630
720
  * * Base Table: Role
631
721
  * * Base View: vwRoles
632
722
  * * Primary Key: ID
633
- * * Description: null
634
723
  * @extends {BaseEntity}
635
724
  * @class
636
725
  * @public
637
726
  */
638
727
  let RoleEntity = class RoleEntity extends core_1.BaseEntity {
728
+ /**
729
+ * Loads the Roles record from the database
730
+ * @param ID: Number - primary key value to load the Roles record.
731
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
732
+ * @returns {Promise<boolean>} - true if successful, false otherwise
733
+ * @public
734
+ * @async
735
+ * @memberof RoleEntity
736
+ * @method
737
+ * @override
738
+ */
739
+ async Load(ID, EntityRelationshipsToLoad = null) {
740
+ const pkeyValues = [];
741
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
742
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
743
+ }
639
744
  /**
640
745
  * * Field Name: ID
641
746
  * * SQL Data Type: int
@@ -713,12 +818,27 @@ exports.RoleEntity = RoleEntity = __decorate([
713
818
  * * Base Table: Skill
714
819
  * * Base View: vwSkills
715
820
  * * Primary Key: ID
716
- * * Description: null
717
821
  * @extends {BaseEntity}
718
822
  * @class
719
823
  * @public
720
824
  */
721
825
  let SkillEntity = class SkillEntity extends core_1.BaseEntity {
826
+ /**
827
+ * Loads the Skills record from the database
828
+ * @param ID: Number - primary key value to load the Skills record.
829
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
830
+ * @returns {Promise<boolean>} - true if successful, false otherwise
831
+ * @public
832
+ * @async
833
+ * @memberof SkillEntity
834
+ * @method
835
+ * @override
836
+ */
837
+ async Load(ID, EntityRelationshipsToLoad = null) {
838
+ const pkeyValues = [];
839
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
840
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
841
+ }
722
842
  /**
723
843
  * * Field Name: ID
724
844
  * * SQL Data Type: int
@@ -785,12 +905,27 @@ exports.SkillEntity = SkillEntity = __decorate([
785
905
  * * Base Table: IntegrationURLFormat
786
906
  * * Base View: vwIntegrationURLFormats
787
907
  * * Primary Key: ID
788
- * * Description: null
789
908
  * @extends {BaseEntity}
790
909
  * @class
791
910
  * @public
792
911
  */
793
912
  let IntegrationURLFormatEntity = class IntegrationURLFormatEntity extends core_1.BaseEntity {
913
+ /**
914
+ * Loads the Integration URL Formats record from the database
915
+ * @param ID: Number - primary key value to load the Integration URL Formats record.
916
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
917
+ * @returns {Promise<boolean>} - true if successful, false otherwise
918
+ * @public
919
+ * @async
920
+ * @memberof IntegrationURLFormatEntity
921
+ * @method
922
+ * @override
923
+ */
924
+ async Load(ID, EntityRelationshipsToLoad = null) {
925
+ const pkeyValues = [];
926
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
927
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
928
+ }
794
929
  /**
795
930
  * * Field Name: ID
796
931
  * * SQL Data Type: int
@@ -874,14 +1009,29 @@ exports.IntegrationURLFormatEntity = IntegrationURLFormatEntity = __decorate([
874
1009
  * * Schema: admin
875
1010
  * * Base Table: Integration
876
1011
  * * Base View: vwIntegrations
877
- * @description List of integrations that can be executed using the MemberJunction integration architecture.
1012
+ * * @description List of integrations that can be executed using the MemberJunction integration architecture.
878
1013
  * * Primary Key: ID
879
- * * Description: List of integrations that can be executed using the MemberJunction integration architecture.
880
1014
  * @extends {BaseEntity}
881
1015
  * @class
882
1016
  * @public
883
1017
  */
884
1018
  let IntegrationEntity = class IntegrationEntity extends core_1.BaseEntity {
1019
+ /**
1020
+ * Loads the Integrations record from the database
1021
+ * @param ID: Number - primary key value to load the Integrations record.
1022
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
1023
+ * @returns {Promise<boolean>} - true if successful, false otherwise
1024
+ * @public
1025
+ * @async
1026
+ * @memberof IntegrationEntity
1027
+ * @method
1028
+ * @override
1029
+ */
1030
+ async Load(ID, EntityRelationshipsToLoad = null) {
1031
+ const pkeyValues = [];
1032
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
1033
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
1034
+ }
885
1035
  /**
886
1036
  * * Field Name: ID
887
1037
  * * SQL Data Type: int
@@ -995,12 +1145,27 @@ exports.IntegrationEntity = IntegrationEntity = __decorate([
995
1145
  * * Base Table: CompanyIntegration
996
1146
  * * Base View: vwCompanyIntegrations
997
1147
  * * Primary Key: ID
998
- * * Description: null
999
1148
  * @extends {BaseEntity}
1000
1149
  * @class
1001
1150
  * @public
1002
1151
  */
1003
1152
  let CompanyIntegrationEntity = class CompanyIntegrationEntity extends core_1.BaseEntity {
1153
+ /**
1154
+ * Loads the Company Integrations record from the database
1155
+ * @param ID: Number - primary key value to load the Company Integrations record.
1156
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
1157
+ * @returns {Promise<boolean>} - true if successful, false otherwise
1158
+ * @public
1159
+ * @async
1160
+ * @memberof CompanyIntegrationEntity
1161
+ * @method
1162
+ * @override
1163
+ */
1164
+ async Load(ID, EntityRelationshipsToLoad = null) {
1165
+ const pkeyValues = [];
1166
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
1167
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
1168
+ }
1004
1169
  /**
1005
1170
  * * Field Name: ID
1006
1171
  * * SQL Data Type: int
@@ -1241,12 +1406,27 @@ exports.CompanyIntegrationEntity = CompanyIntegrationEntity = __decorate([
1241
1406
  * * Base Table: EntityField
1242
1407
  * * Base View: vwEntityFields
1243
1408
  * * Primary Key: ID
1244
- * * Description: null
1245
1409
  * @extends {BaseEntity}
1246
1410
  * @class
1247
1411
  * @public
1248
1412
  */
1249
1413
  let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
1414
+ /**
1415
+ * Loads the Entity Fields record from the database
1416
+ * @param ID: Number - primary key value to load the Entity Fields record.
1417
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
1418
+ * @returns {Promise<boolean>} - true if successful, false otherwise
1419
+ * @public
1420
+ * @async
1421
+ * @memberof EntityFieldEntity
1422
+ * @method
1423
+ * @override
1424
+ */
1425
+ async Load(ID, EntityRelationshipsToLoad = null) {
1426
+ const pkeyValues = [];
1427
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
1428
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
1429
+ }
1250
1430
  /**
1251
1431
  * * Field Name: ID
1252
1432
  * * SQL Data Type: int
@@ -1655,7 +1835,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
1655
1835
  /**
1656
1836
  * * Field Name: EntityClassName
1657
1837
  * * Display Name: Entity Class Name
1658
- * * SQL Data Type: nvarchar(511)
1838
+ * * SQL Data Type: nvarchar(4000)
1659
1839
  */
1660
1840
  get EntityClassName() {
1661
1841
  return this.Get('EntityClassName');
@@ -1703,7 +1883,7 @@ let EntityFieldEntity = class EntityFieldEntity extends core_1.BaseEntity {
1703
1883
  /**
1704
1884
  * * Field Name: RelatedEntityClassName
1705
1885
  * * Display Name: Related Entity Class Name
1706
- * * SQL Data Type: nvarchar(511)
1886
+ * * SQL Data Type: nvarchar(4000)
1707
1887
  */
1708
1888
  get RelatedEntityClassName() {
1709
1889
  return this.Get('RelatedEntityClassName');
@@ -1718,14 +1898,29 @@ exports.EntityFieldEntity = EntityFieldEntity = __decorate([
1718
1898
  * * Schema: admin
1719
1899
  * * Base Table: Entity
1720
1900
  * * Base View: vwEntities
1721
- * @description Metadata about all of the entities in the system. This information is managed by CodeGen, don't modify the parts that come from SQL Server
1901
+ * * @description Metadata about all of the entities in the system. This information is managed by CodeGen, don't modify the parts that come from SQL Server
1722
1902
  * * Primary Key: ID
1723
- * * Description: Metadata about all of the entities in the system. This information is managed by CodeGen, don't modify the parts that come from SQL Server
1724
1903
  * @extends {BaseEntity}
1725
1904
  * @class
1726
1905
  * @public
1727
1906
  */
1728
1907
  let EntityEntity = class EntityEntity extends core_1.BaseEntity {
1908
+ /**
1909
+ * Loads the Entities record from the database
1910
+ * @param ID: Number - primary key value to load the Entities record.
1911
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
1912
+ * @returns {Promise<boolean>} - true if successful, false otherwise
1913
+ * @public
1914
+ * @async
1915
+ * @memberof EntityEntity
1916
+ * @method
1917
+ * @override
1918
+ */
1919
+ async Load(ID, EntityRelationshipsToLoad = null) {
1920
+ const pkeyValues = [];
1921
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
1922
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
1923
+ }
1729
1924
  /**
1730
1925
  * * Field Name: ID
1731
1926
  * * SQL Data Type: int
@@ -2192,7 +2387,7 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
2192
2387
  /**
2193
2388
  * * Field Name: ClassName
2194
2389
  * * Display Name: Class Name
2195
- * * SQL Data Type: nvarchar(511)
2390
+ * * SQL Data Type: nvarchar(4000)
2196
2391
  */
2197
2392
  get ClassName() {
2198
2393
  return this.Get('ClassName');
@@ -2200,7 +2395,7 @@ let EntityEntity = class EntityEntity extends core_1.BaseEntity {
2200
2395
  /**
2201
2396
  * * Field Name: BaseTableCodeName
2202
2397
  * * Display Name: Base Table Code Name
2203
- * * SQL Data Type: nvarchar(511)
2398
+ * * SQL Data Type: nvarchar(4000)
2204
2399
  */
2205
2400
  get BaseTableCodeName() {
2206
2401
  return this.Get('BaseTableCodeName');
@@ -2240,12 +2435,27 @@ exports.EntityEntity = EntityEntity = __decorate([
2240
2435
  * * Base Table: User
2241
2436
  * * Base View: vwUsers
2242
2437
  * * Primary Key: ID
2243
- * * Description: null
2244
2438
  * @extends {BaseEntity}
2245
2439
  * @class
2246
2440
  * @public
2247
2441
  */
2248
2442
  let UserEntity = class UserEntity extends core_1.BaseEntity {
2443
+ /**
2444
+ * Loads the Users record from the database
2445
+ * @param ID: Number - primary key value to load the Users record.
2446
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
2447
+ * @returns {Promise<boolean>} - true if successful, false otherwise
2448
+ * @public
2449
+ * @async
2450
+ * @memberof UserEntity
2451
+ * @method
2452
+ * @override
2453
+ */
2454
+ async Load(ID, EntityRelationshipsToLoad = null) {
2455
+ const pkeyValues = [];
2456
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
2457
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
2458
+ }
2249
2459
  /**
2250
2460
  * * Field Name: ID
2251
2461
  * * SQL Data Type: int
@@ -2450,12 +2660,27 @@ exports.UserEntity = UserEntity = __decorate([
2450
2660
  * * Base Table: EntityRelationship
2451
2661
  * * Base View: vwEntityRelationships
2452
2662
  * * Primary Key: ID
2453
- * * Description: null
2454
2663
  * @extends {BaseEntity}
2455
2664
  * @class
2456
2665
  * @public
2457
2666
  */
2458
2667
  let EntityRelationshipEntity = class EntityRelationshipEntity extends core_1.BaseEntity {
2668
+ /**
2669
+ * Loads the Entity Relationships record from the database
2670
+ * @param ID: Number - primary key value to load the Entity Relationships record.
2671
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
2672
+ * @returns {Promise<boolean>} - true if successful, false otherwise
2673
+ * @public
2674
+ * @async
2675
+ * @memberof EntityRelationshipEntity
2676
+ * @method
2677
+ * @override
2678
+ */
2679
+ async Load(ID, EntityRelationshipsToLoad = null) {
2680
+ const pkeyValues = [];
2681
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
2682
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
2683
+ }
2459
2684
  /**
2460
2685
  * * Field Name: ID
2461
2686
  * * SQL Data Type: int
@@ -2677,7 +2902,7 @@ let EntityRelationshipEntity = class EntityRelationshipEntity extends core_1.Bas
2677
2902
  /**
2678
2903
  * * Field Name: RelatedEntityClassName
2679
2904
  * * Display Name: Related Entity Class Name
2680
- * * SQL Data Type: nvarchar(511)
2905
+ * * SQL Data Type: nvarchar(4000)
2681
2906
  */
2682
2907
  get RelatedEntityClassName() {
2683
2908
  return this.Get('RelatedEntityClassName');
@@ -2693,7 +2918,7 @@ let EntityRelationshipEntity = class EntityRelationshipEntity extends core_1.Bas
2693
2918
  /**
2694
2919
  * * Field Name: RelatedEntityBaseTableCodeName
2695
2920
  * * Display Name: Related Entity Base Table Code Name
2696
- * * SQL Data Type: nvarchar(511)
2921
+ * * SQL Data Type: nvarchar(4000)
2697
2922
  */
2698
2923
  get RelatedEntityBaseTableCodeName() {
2699
2924
  return this.Get('RelatedEntityBaseTableCodeName');
@@ -2724,14 +2949,29 @@ exports.EntityRelationshipEntity = EntityRelationshipEntity = __decorate([
2724
2949
  * * Schema: admin
2725
2950
  * * Base Table: UserRecordLog
2726
2951
  * * Base View: vwUserRecordLogs
2727
- * @description Tracks history of user access to records across the system, tracks reads and writes
2952
+ * * @description Tracks history of user access to records across the system, tracks reads and writes
2728
2953
  * * Primary Key: ID
2729
- * * Description: Tracks history of user access to records across the system, tracks reads and writes
2730
2954
  * @extends {BaseEntity}
2731
2955
  * @class
2732
2956
  * @public
2733
2957
  */
2734
2958
  let UserRecordLogEntity = class UserRecordLogEntity extends core_1.BaseEntity {
2959
+ /**
2960
+ * Loads the User Record Logs record from the database
2961
+ * @param ID: Number - primary key value to load the User Record Logs record.
2962
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
2963
+ * @returns {Promise<boolean>} - true if successful, false otherwise
2964
+ * @public
2965
+ * @async
2966
+ * @memberof UserRecordLogEntity
2967
+ * @method
2968
+ * @override
2969
+ */
2970
+ async Load(ID, EntityRelationshipsToLoad = null) {
2971
+ const pkeyValues = [];
2972
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
2973
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
2974
+ }
2735
2975
  /**
2736
2976
  * * Field Name: ID
2737
2977
  * * SQL Data Type: int
@@ -2868,14 +3108,29 @@ exports.UserRecordLogEntity = UserRecordLogEntity = __decorate([
2868
3108
  * * Schema: admin
2869
3109
  * * Base Table: UserView
2870
3110
  * * Base View: vwUserViews
2871
- * @description User Views contain the metadata for the user viewing system of entity data
3111
+ * * @description User Views contain the metadata for the user viewing system of entity data
2872
3112
  * * Primary Key: ID
2873
- * * Description: User Views contain the metadata for the user viewing system of entity data
2874
3113
  * @extends {BaseEntity}
2875
3114
  * @class
2876
3115
  * @public
2877
3116
  */
2878
3117
  let UserViewEntity = class UserViewEntity extends core_1.BaseEntity {
3118
+ /**
3119
+ * Loads the User Views record from the database
3120
+ * @param ID: Number - primary key value to load the User Views record.
3121
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
3122
+ * @returns {Promise<boolean>} - true if successful, false otherwise
3123
+ * @public
3124
+ * @async
3125
+ * @memberof UserViewEntity
3126
+ * @method
3127
+ * @override
3128
+ */
3129
+ async Load(ID, EntityRelationshipsToLoad = null) {
3130
+ const pkeyValues = [];
3131
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
3132
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3133
+ }
2879
3134
  /**
2880
3135
  * * Field Name: ID
2881
3136
  * * SQL Data Type: int
@@ -3149,14 +3404,29 @@ exports.UserViewEntity = UserViewEntity = __decorate([
3149
3404
  * * Schema: admin
3150
3405
  * * Base Table: CompanyIntegrationRun
3151
3406
  * * Base View: vwCompanyIntegrationRuns
3152
- * @description Audit Trail for each run of a given company integration
3407
+ * * @description Audit Trail for each run of a given company integration
3153
3408
  * * Primary Key: ID
3154
- * * Description: Audit Trail for each run of a given company integration
3155
3409
  * @extends {BaseEntity}
3156
3410
  * @class
3157
3411
  * @public
3158
3412
  */
3159
3413
  let CompanyIntegrationRunEntity = class CompanyIntegrationRunEntity extends core_1.BaseEntity {
3414
+ /**
3415
+ * Loads the Company Integration Runs record from the database
3416
+ * @param ID: Number - primary key value to load the Company Integration Runs record.
3417
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
3418
+ * @returns {Promise<boolean>} - true if successful, false otherwise
3419
+ * @public
3420
+ * @async
3421
+ * @memberof CompanyIntegrationRunEntity
3422
+ * @method
3423
+ * @override
3424
+ */
3425
+ async Load(ID, EntityRelationshipsToLoad = null) {
3426
+ const pkeyValues = [];
3427
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
3428
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3429
+ }
3160
3430
  /**
3161
3431
  * * Field Name: ID
3162
3432
  * * SQL Data Type: int
@@ -3249,14 +3519,29 @@ exports.CompanyIntegrationRunEntity = CompanyIntegrationRunEntity = __decorate([
3249
3519
  * * Schema: admin
3250
3520
  * * Base Table: CompanyIntegrationRunDetail
3251
3521
  * * Base View: vwCompanyIntegrationRunDetails
3252
- * @description Record-level details for the audit trail for each integration run
3522
+ * * @description Record-level details for the audit trail for each integration run
3253
3523
  * * Primary Key: ID
3254
- * * Description: Record-level details for the audit trail for each integration run
3255
3524
  * @extends {BaseEntity}
3256
3525
  * @class
3257
3526
  * @public
3258
3527
  */
3259
3528
  let CompanyIntegrationRunDetailEntity = class CompanyIntegrationRunDetailEntity extends core_1.BaseEntity {
3529
+ /**
3530
+ * Loads the Company Integration Run Details record from the database
3531
+ * @param ID: Number - primary key value to load the Company Integration Run Details record.
3532
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
3533
+ * @returns {Promise<boolean>} - true if successful, false otherwise
3534
+ * @public
3535
+ * @async
3536
+ * @memberof CompanyIntegrationRunDetailEntity
3537
+ * @method
3538
+ * @override
3539
+ */
3540
+ async Load(ID, EntityRelationshipsToLoad = null) {
3541
+ const pkeyValues = [];
3542
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
3543
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3544
+ }
3260
3545
  /**
3261
3546
  * * Field Name: ID
3262
3547
  * * SQL Data Type: int
@@ -3367,12 +3652,27 @@ exports.CompanyIntegrationRunDetailEntity = CompanyIntegrationRunDetailEntity =
3367
3652
  * * Base Table: ErrorLog
3368
3653
  * * Base View: vwErrorLogs
3369
3654
  * * Primary Key: ID
3370
- * * Description: null
3371
3655
  * @extends {BaseEntity}
3372
3656
  * @class
3373
3657
  * @public
3374
3658
  */
3375
3659
  let ErrorLogEntity = class ErrorLogEntity extends core_1.BaseEntity {
3660
+ /**
3661
+ * Loads the Error Logs record from the database
3662
+ * @param ID: Number - primary key value to load the Error Logs record.
3663
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
3664
+ * @returns {Promise<boolean>} - true if successful, false otherwise
3665
+ * @public
3666
+ * @async
3667
+ * @memberof ErrorLogEntity
3668
+ * @method
3669
+ * @override
3670
+ */
3671
+ async Load(ID, EntityRelationshipsToLoad = null) {
3672
+ const pkeyValues = [];
3673
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
3674
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3675
+ }
3376
3676
  /**
3377
3677
  * * Field Name: ID
3378
3678
  * * SQL Data Type: int
@@ -3486,12 +3786,27 @@ exports.ErrorLogEntity = ErrorLogEntity = __decorate([
3486
3786
  * * Base Table: Application
3487
3787
  * * Base View: vwApplications
3488
3788
  * * Primary Key: ID
3489
- * * Description: null
3490
3789
  * @extends {BaseEntity}
3491
3790
  * @class
3492
3791
  * @public
3493
3792
  */
3494
3793
  let ApplicationEntity = class ApplicationEntity extends core_1.BaseEntity {
3794
+ /**
3795
+ * Loads the Applications record from the database
3796
+ * @param ID: Number - primary key value to load the Applications record.
3797
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
3798
+ * @returns {Promise<boolean>} - true if successful, false otherwise
3799
+ * @public
3800
+ * @async
3801
+ * @memberof ApplicationEntity
3802
+ * @method
3803
+ * @override
3804
+ */
3805
+ async Load(ID, EntityRelationshipsToLoad = null) {
3806
+ const pkeyValues = [];
3807
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
3808
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3809
+ }
3495
3810
  /**
3496
3811
  * * Field Name: ID
3497
3812
  * * SQL Data Type: int
@@ -3548,12 +3863,27 @@ exports.ApplicationEntity = ApplicationEntity = __decorate([
3548
3863
  * * Base Table: ApplicationEntity
3549
3864
  * * Base View: vwApplicationEntities
3550
3865
  * * Primary Key: ID
3551
- * * Description: null
3552
3866
  * @extends {BaseEntity}
3553
3867
  * @class
3554
3868
  * @public
3555
3869
  */
3556
3870
  let ApplicationEntityEntity = class ApplicationEntityEntity extends core_1.BaseEntity {
3871
+ /**
3872
+ * Loads the Application Entities record from the database
3873
+ * @param ID: Number - primary key value to load the Application Entities record.
3874
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
3875
+ * @returns {Promise<boolean>} - true if successful, false otherwise
3876
+ * @public
3877
+ * @async
3878
+ * @memberof ApplicationEntityEntity
3879
+ * @method
3880
+ * @override
3881
+ */
3882
+ async Load(ID, EntityRelationshipsToLoad = null) {
3883
+ const pkeyValues = [];
3884
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
3885
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
3886
+ }
3557
3887
  /**
3558
3888
  * * Field Name: ID
3559
3889
  * * SQL Data Type: int
@@ -3658,7 +3988,7 @@ let ApplicationEntityEntity = class ApplicationEntityEntity extends core_1.BaseE
3658
3988
  /**
3659
3989
  * * Field Name: EntityClassName
3660
3990
  * * Display Name: Entity Class Name
3661
- * * SQL Data Type: nvarchar(511)
3991
+ * * SQL Data Type: nvarchar(4000)
3662
3992
  */
3663
3993
  get EntityClassName() {
3664
3994
  return this.Get('EntityClassName');
@@ -3666,7 +3996,7 @@ let ApplicationEntityEntity = class ApplicationEntityEntity extends core_1.BaseE
3666
3996
  /**
3667
3997
  * * Field Name: EntityBaseTableCodeName
3668
3998
  * * Display Name: Entity Base Table Code Name
3669
- * * SQL Data Type: nvarchar(511)
3999
+ * * SQL Data Type: nvarchar(4000)
3670
4000
  */
3671
4001
  get EntityBaseTableCodeName() {
3672
4002
  return this.Get('EntityBaseTableCodeName');
@@ -3682,12 +4012,27 @@ exports.ApplicationEntityEntity = ApplicationEntityEntity = __decorate([
3682
4012
  * * Base Table: EntityPermission
3683
4013
  * * Base View: vwEntityPermissions
3684
4014
  * * Primary Key: ID
3685
- * * Description: null
3686
4015
  * @extends {BaseEntity}
3687
4016
  * @class
3688
4017
  * @public
3689
4018
  */
3690
4019
  let EntityPermissionEntity = class EntityPermissionEntity extends core_1.BaseEntity {
4020
+ /**
4021
+ * Loads the Entity Permissions record from the database
4022
+ * @param ID: Number - primary key value to load the Entity Permissions record.
4023
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4024
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4025
+ * @public
4026
+ * @async
4027
+ * @memberof EntityPermissionEntity
4028
+ * @method
4029
+ * @override
4030
+ */
4031
+ async Load(ID, EntityRelationshipsToLoad = null) {
4032
+ const pkeyValues = [];
4033
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4034
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4035
+ }
3691
4036
  /**
3692
4037
  * * Field Name: ID
3693
4038
  * * SQL Data Type: int
@@ -3891,12 +4236,27 @@ exports.EntityPermissionEntity = EntityPermissionEntity = __decorate([
3891
4236
  * * Base Table: UserApplicationEntity
3892
4237
  * * Base View: vwUserApplicationEntities
3893
4238
  * * Primary Key: ID
3894
- * * Description: null
3895
4239
  * @extends {BaseEntity}
3896
4240
  * @class
3897
4241
  * @public
3898
4242
  */
3899
4243
  let UserApplicationEntityEntity = class UserApplicationEntityEntity extends core_1.BaseEntity {
4244
+ /**
4245
+ * Loads the User Application Entities record from the database
4246
+ * @param ID: Number - primary key value to load the User Application Entities record.
4247
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4248
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4249
+ * @public
4250
+ * @async
4251
+ * @memberof UserApplicationEntityEntity
4252
+ * @method
4253
+ * @override
4254
+ */
4255
+ async Load(ID, EntityRelationshipsToLoad = null) {
4256
+ const pkeyValues = [];
4257
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4258
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4259
+ }
3900
4260
  /**
3901
4261
  * * Field Name: ID
3902
4262
  * * SQL Data Type: int
@@ -3974,12 +4334,27 @@ exports.UserApplicationEntityEntity = UserApplicationEntityEntity = __decorate([
3974
4334
  * * Base Table: UserApplication
3975
4335
  * * Base View: vwUserApplications
3976
4336
  * * Primary Key: ID
3977
- * * Description: null
3978
4337
  * @extends {BaseEntity}
3979
4338
  * @class
3980
4339
  * @public
3981
4340
  */
3982
4341
  let UserApplicationEntity = class UserApplicationEntity extends core_1.BaseEntity {
4342
+ /**
4343
+ * Loads the User Applications record from the database
4344
+ * @param ID: Number - primary key value to load the User Applications record.
4345
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4346
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4347
+ * @public
4348
+ * @async
4349
+ * @memberof UserApplicationEntity
4350
+ * @method
4351
+ * @override
4352
+ */
4353
+ async Load(ID, EntityRelationshipsToLoad = null) {
4354
+ const pkeyValues = [];
4355
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4356
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4357
+ }
3983
4358
  /**
3984
4359
  * * Field Name: ID
3985
4360
  * * SQL Data Type: int
@@ -4061,12 +4436,27 @@ exports.UserApplicationEntity = UserApplicationEntity = __decorate([
4061
4436
  * * Base Table: CompanyIntegrationRunAPILog
4062
4437
  * * Base View: vwCompanyIntegrationRunAPILogs
4063
4438
  * * Primary Key: ID
4064
- * * Description: null
4065
4439
  * @extends {BaseEntity}
4066
4440
  * @class
4067
4441
  * @public
4068
4442
  */
4069
4443
  let CompanyIntegrationRunAPILogEntity = class CompanyIntegrationRunAPILogEntity extends core_1.BaseEntity {
4444
+ /**
4445
+ * Loads the Company Integration Run API Logs record from the database
4446
+ * @param ID: Number - primary key value to load the Company Integration Run API Logs record.
4447
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4448
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4449
+ * @public
4450
+ * @async
4451
+ * @memberof CompanyIntegrationRunAPILogEntity
4452
+ * @method
4453
+ * @override
4454
+ */
4455
+ async Load(ID, EntityRelationshipsToLoad = null) {
4456
+ const pkeyValues = [];
4457
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4458
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4459
+ }
4070
4460
  /**
4071
4461
  * * Field Name: ID
4072
4462
  * * SQL Data Type: int
@@ -4152,12 +4542,27 @@ exports.CompanyIntegrationRunAPILogEntity = CompanyIntegrationRunAPILogEntity =
4152
4542
  * * Base Table: List
4153
4543
  * * Base View: vwLists
4154
4544
  * * Primary Key: ID
4155
- * * Description: null
4156
4545
  * @extends {BaseEntity}
4157
4546
  * @class
4158
4547
  * @public
4159
4548
  */
4160
4549
  let ListEntity = class ListEntity extends core_1.BaseEntity {
4550
+ /**
4551
+ * Loads the Lists record from the database
4552
+ * @param ID: Number - primary key value to load the Lists record.
4553
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4554
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4555
+ * @public
4556
+ * @async
4557
+ * @memberof ListEntity
4558
+ * @method
4559
+ * @override
4560
+ */
4561
+ async Load(ID, EntityRelationshipsToLoad = null) {
4562
+ const pkeyValues = [];
4563
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4564
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4565
+ }
4161
4566
  /**
4162
4567
  * * Field Name: ID
4163
4568
  * * SQL Data Type: int
@@ -4277,12 +4682,27 @@ exports.ListEntity = ListEntity = __decorate([
4277
4682
  * * Base Table: ListDetail
4278
4683
  * * Base View: vwListDetails
4279
4684
  * * Primary Key: ID
4280
- * * Description: null
4281
4685
  * @extends {BaseEntity}
4282
4686
  * @class
4283
4687
  * @public
4284
4688
  */
4285
4689
  let ListDetailEntity = class ListDetailEntity extends core_1.BaseEntity {
4690
+ /**
4691
+ * Loads the List Details record from the database
4692
+ * @param ID: Number - primary key value to load the List Details record.
4693
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4694
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4695
+ * @public
4696
+ * @async
4697
+ * @memberof ListDetailEntity
4698
+ * @method
4699
+ * @override
4700
+ */
4701
+ async Load(ID, EntityRelationshipsToLoad = null) {
4702
+ const pkeyValues = [];
4703
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4704
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4705
+ }
4286
4706
  /**
4287
4707
  * * Field Name: ID
4288
4708
  * * SQL Data Type: int
@@ -4335,12 +4755,27 @@ exports.ListDetailEntity = ListDetailEntity = __decorate([
4335
4755
  * * Base Table: UserViewRun
4336
4756
  * * Base View: vwUserViewRuns
4337
4757
  * * Primary Key: ID
4338
- * * Description: null
4339
4758
  * @extends {BaseEntity}
4340
4759
  * @class
4341
4760
  * @public
4342
4761
  */
4343
4762
  let UserViewRunEntity = class UserViewRunEntity extends core_1.BaseEntity {
4763
+ /**
4764
+ * Loads the User View Runs record from the database
4765
+ * @param ID: Number - primary key value to load the User View Runs record.
4766
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4767
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4768
+ * @public
4769
+ * @async
4770
+ * @memberof UserViewRunEntity
4771
+ * @method
4772
+ * @override
4773
+ */
4774
+ async Load(ID, EntityRelationshipsToLoad = null) {
4775
+ const pkeyValues = [];
4776
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4777
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4778
+ }
4344
4779
  /**
4345
4780
  * * Field Name: ID
4346
4781
  * * SQL Data Type: int
@@ -4410,12 +4845,27 @@ exports.UserViewRunEntity = UserViewRunEntity = __decorate([
4410
4845
  * * Base Table: UserViewRunDetail
4411
4846
  * * Base View: vwUserViewRunDetails
4412
4847
  * * Primary Key: ID
4413
- * * Description: null
4414
4848
  * @extends {BaseEntity}
4415
4849
  * @class
4416
4850
  * @public
4417
4851
  */
4418
4852
  let UserViewRunDetailEntity = class UserViewRunDetailEntity extends core_1.BaseEntity {
4853
+ /**
4854
+ * Loads the User View Run Details record from the database
4855
+ * @param ID: Number - primary key value to load the User View Run Details record.
4856
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4857
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4858
+ * @public
4859
+ * @async
4860
+ * @memberof UserViewRunDetailEntity
4861
+ * @method
4862
+ * @override
4863
+ */
4864
+ async Load(ID, EntityRelationshipsToLoad = null) {
4865
+ const pkeyValues = [];
4866
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4867
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4868
+ }
4419
4869
  /**
4420
4870
  * * Field Name: ID
4421
4871
  * * SQL Data Type: int
@@ -4473,12 +4923,27 @@ exports.UserViewRunDetailEntity = UserViewRunDetailEntity = __decorate([
4473
4923
  * * Base Table: WorkflowRun
4474
4924
  * * Base View: vwWorkflowRuns
4475
4925
  * * Primary Key: ID
4476
- * * Description: null
4477
4926
  * @extends {BaseEntity}
4478
4927
  * @class
4479
4928
  * @public
4480
4929
  */
4481
4930
  let WorkflowRunEntity = class WorkflowRunEntity extends core_1.BaseEntity {
4931
+ /**
4932
+ * Loads the Workflow Runs record from the database
4933
+ * @param ID: Number - primary key value to load the Workflow Runs record.
4934
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
4935
+ * @returns {Promise<boolean>} - true if successful, false otherwise
4936
+ * @public
4937
+ * @async
4938
+ * @memberof WorkflowRunEntity
4939
+ * @method
4940
+ * @override
4941
+ */
4942
+ async Load(ID, EntityRelationshipsToLoad = null) {
4943
+ const pkeyValues = [];
4944
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
4945
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
4946
+ }
4482
4947
  /**
4483
4948
  * * Field Name: ID
4484
4949
  * * SQL Data Type: int
@@ -4579,12 +5044,27 @@ exports.WorkflowRunEntity = WorkflowRunEntity = __decorate([
4579
5044
  * * Base Table: Workflow
4580
5045
  * * Base View: vwWorkflows
4581
5046
  * * Primary Key: ID
4582
- * * Description: null
4583
5047
  * @extends {BaseEntity}
4584
5048
  * @class
4585
5049
  * @public
4586
5050
  */
4587
5051
  let WorkflowEntity = class WorkflowEntity extends core_1.BaseEntity {
5052
+ /**
5053
+ * Loads the Workflows record from the database
5054
+ * @param ID: Number - primary key value to load the Workflows record.
5055
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5056
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5057
+ * @public
5058
+ * @async
5059
+ * @memberof WorkflowEntity
5060
+ * @method
5061
+ * @override
5062
+ */
5063
+ async Load(ID, EntityRelationshipsToLoad = null) {
5064
+ const pkeyValues = [];
5065
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5066
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5067
+ }
4588
5068
  /**
4589
5069
  * * Field Name: ID
4590
5070
  * * SQL Data Type: int
@@ -4676,12 +5156,27 @@ exports.WorkflowEntity = WorkflowEntity = __decorate([
4676
5156
  * * Base Table: WorkflowEngine
4677
5157
  * * Base View: vwWorkflowEngines
4678
5158
  * * Primary Key: ID
4679
- * * Description: null
4680
5159
  * @extends {BaseEntity}
4681
5160
  * @class
4682
5161
  * @public
4683
5162
  */
4684
5163
  let WorkflowEngineEntity = class WorkflowEngineEntity extends core_1.BaseEntity {
5164
+ /**
5165
+ * Loads the Workflow Engines record from the database
5166
+ * @param ID: Number - primary key value to load the Workflow Engines record.
5167
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5168
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5169
+ * @public
5170
+ * @async
5171
+ * @memberof WorkflowEngineEntity
5172
+ * @method
5173
+ * @override
5174
+ */
5175
+ async Load(ID, EntityRelationshipsToLoad = null) {
5176
+ const pkeyValues = [];
5177
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5178
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5179
+ }
4685
5180
  /**
4686
5181
  * * Field Name: ID
4687
5182
  * * SQL Data Type: int
@@ -4759,14 +5254,29 @@ exports.WorkflowEngineEntity = WorkflowEngineEntity = __decorate([
4759
5254
  * * Schema: admin
4760
5255
  * * Base Table: RecordChange
4761
5256
  * * Base View: vwRecordChanges
4762
- * @description Tracks history of all pending and complete data changes to records
5257
+ * * @description Tracks history of all pending and complete data changes to records
4763
5258
  * * Primary Key: ID
4764
- * * Description: Tracks history of all pending and complete data changes to records
4765
5259
  * @extends {BaseEntity}
4766
5260
  * @class
4767
5261
  * @public
4768
5262
  */
4769
5263
  let RecordChangeEntity = class RecordChangeEntity extends core_1.BaseEntity {
5264
+ /**
5265
+ * Loads the Record Changes record from the database
5266
+ * @param ID: Number - primary key value to load the Record Changes record.
5267
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5268
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5269
+ * @public
5270
+ * @async
5271
+ * @memberof RecordChangeEntity
5272
+ * @method
5273
+ * @override
5274
+ */
5275
+ async Load(ID, EntityRelationshipsToLoad = null) {
5276
+ const pkeyValues = [];
5277
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5278
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5279
+ }
4770
5280
  /**
4771
5281
  * * Field Name: ID
4772
5282
  * * SQL Data Type: int
@@ -4902,12 +5412,27 @@ exports.RecordChangeEntity = RecordChangeEntity = __decorate([
4902
5412
  * * Base Table: UserRole
4903
5413
  * * Base View: vwUserRoles
4904
5414
  * * Primary Key: ID
4905
- * * Description: null
4906
5415
  * @extends {BaseEntity}
4907
5416
  * @class
4908
5417
  * @public
4909
5418
  */
4910
5419
  let UserRoleEntity = class UserRoleEntity extends core_1.BaseEntity {
5420
+ /**
5421
+ * Loads the User Roles record from the database
5422
+ * @param ID: Number - primary key value to load the User Roles record.
5423
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5424
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5425
+ * @public
5426
+ * @async
5427
+ * @memberof UserRoleEntity
5428
+ * @method
5429
+ * @override
5430
+ */
5431
+ async Load(ID, EntityRelationshipsToLoad = null) {
5432
+ const pkeyValues = [];
5433
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5434
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5435
+ }
4911
5436
  /**
4912
5437
  * * Field Name: ID
4913
5438
  * * Display Name: ID
@@ -4977,12 +5502,27 @@ exports.UserRoleEntity = UserRoleEntity = __decorate([
4977
5502
  * * Base Table: RowLevelSecurityFilter
4978
5503
  * * Base View: vwRowLevelSecurityFilters
4979
5504
  * * Primary Key: ID
4980
- * * Description: null
4981
5505
  * @extends {BaseEntity}
4982
5506
  * @class
4983
5507
  * @public
4984
5508
  */
4985
5509
  let RowLevelSecurityFilterEntity = class RowLevelSecurityFilterEntity extends core_1.BaseEntity {
5510
+ /**
5511
+ * Loads the Row Level Security Filters record from the database
5512
+ * @param ID: Number - primary key value to load the Row Level Security Filters record.
5513
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5514
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5515
+ * @public
5516
+ * @async
5517
+ * @memberof RowLevelSecurityFilterEntity
5518
+ * @method
5519
+ * @override
5520
+ */
5521
+ async Load(ID, EntityRelationshipsToLoad = null) {
5522
+ const pkeyValues = [];
5523
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5524
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5525
+ }
4986
5526
  /**
4987
5527
  * * Field Name: ID
4988
5528
  * * Display Name: ID
@@ -5053,12 +5593,27 @@ exports.RowLevelSecurityFilterEntity = RowLevelSecurityFilterEntity = __decorate
5053
5593
  * * Base Table: AuditLog
5054
5594
  * * Base View: vwAuditLogs
5055
5595
  * * Primary Key: ID
5056
- * * Description: null
5057
5596
  * @extends {BaseEntity}
5058
5597
  * @class
5059
5598
  * @public
5060
5599
  */
5061
5600
  let AuditLogEntity = class AuditLogEntity extends core_1.BaseEntity {
5601
+ /**
5602
+ * Loads the Audit Logs record from the database
5603
+ * @param ID: Number - primary key value to load the Audit Logs record.
5604
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5605
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5606
+ * @public
5607
+ * @async
5608
+ * @memberof AuditLogEntity
5609
+ * @method
5610
+ * @override
5611
+ */
5612
+ async Load(ID, EntityRelationshipsToLoad = null) {
5613
+ const pkeyValues = [];
5614
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5615
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5616
+ }
5062
5617
  /**
5063
5618
  * * Field Name: ID
5064
5619
  * * Display Name: ID
@@ -5205,12 +5760,27 @@ exports.AuditLogEntity = AuditLogEntity = __decorate([
5205
5760
  * * Base Table: Authorization
5206
5761
  * * Base View: vwAuthorizations
5207
5762
  * * Primary Key: ID
5208
- * * Description: null
5209
5763
  * @extends {BaseEntity}
5210
5764
  * @class
5211
5765
  * @public
5212
5766
  */
5213
5767
  let AuthorizationEntity = class AuthorizationEntity extends core_1.BaseEntity {
5768
+ /**
5769
+ * Loads the Authorizations record from the database
5770
+ * @param ID: Number - primary key value to load the Authorizations record.
5771
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5772
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5773
+ * @public
5774
+ * @async
5775
+ * @memberof AuthorizationEntity
5776
+ * @method
5777
+ * @override
5778
+ */
5779
+ async Load(ID, EntityRelationshipsToLoad = null) {
5780
+ const pkeyValues = [];
5781
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5782
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5783
+ }
5214
5784
  /**
5215
5785
  * * Field Name: ID
5216
5786
  * * Display Name: ID
@@ -5306,12 +5876,27 @@ exports.AuthorizationEntity = AuthorizationEntity = __decorate([
5306
5876
  * * Base Table: AuthorizationRole
5307
5877
  * * Base View: vwAuthorizationRoles
5308
5878
  * * Primary Key: ID
5309
- * * Description: null
5310
5879
  * @extends {BaseEntity}
5311
5880
  * @class
5312
5881
  * @public
5313
5882
  */
5314
5883
  let AuthorizationRoleEntity = class AuthorizationRoleEntity extends core_1.BaseEntity {
5884
+ /**
5885
+ * Loads the Authorization Roles record from the database
5886
+ * @param ID: Number - primary key value to load the Authorization Roles record.
5887
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5888
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5889
+ * @public
5890
+ * @async
5891
+ * @memberof AuthorizationRoleEntity
5892
+ * @method
5893
+ * @override
5894
+ */
5895
+ async Load(ID, EntityRelationshipsToLoad = null) {
5896
+ const pkeyValues = [];
5897
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
5898
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
5899
+ }
5315
5900
  /**
5316
5901
  * * Field Name: ID
5317
5902
  * * Display Name: ID
@@ -5399,12 +5984,27 @@ exports.AuthorizationRoleEntity = AuthorizationRoleEntity = __decorate([
5399
5984
  * * Base Table: AuditLogType
5400
5985
  * * Base View: vwAuditLogTypes
5401
5986
  * * Primary Key: ID
5402
- * * Description: null
5403
5987
  * @extends {BaseEntity}
5404
5988
  * @class
5405
5989
  * @public
5406
5990
  */
5407
5991
  let AuditLogTypeEntity = class AuditLogTypeEntity extends core_1.BaseEntity {
5992
+ /**
5993
+ * Loads the Audit Log Types record from the database
5994
+ * @param ID: Number - primary key value to load the Audit Log Types record.
5995
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
5996
+ * @returns {Promise<boolean>} - true if successful, false otherwise
5997
+ * @public
5998
+ * @async
5999
+ * @memberof AuditLogTypeEntity
6000
+ * @method
6001
+ * @override
6002
+ */
6003
+ async Load(ID, EntityRelationshipsToLoad = null) {
6004
+ const pkeyValues = [];
6005
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6006
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6007
+ }
5408
6008
  /**
5409
6009
  * * Field Name: ID
5410
6010
  * * Display Name: ID
@@ -5496,12 +6096,27 @@ exports.AuditLogTypeEntity = AuditLogTypeEntity = __decorate([
5496
6096
  * * Base Table: EntityFieldValue
5497
6097
  * * Base View: vwEntityFieldValues
5498
6098
  * * Primary Key: ID
5499
- * * Description: null
5500
6099
  * @extends {BaseEntity}
5501
6100
  * @class
5502
6101
  * @public
5503
6102
  */
5504
6103
  let EntityFieldValueEntity = class EntityFieldValueEntity extends core_1.BaseEntity {
6104
+ /**
6105
+ * Loads the Entity Field Values record from the database
6106
+ * @param ID: Number - primary key value to load the Entity Field Values record.
6107
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6108
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6109
+ * @public
6110
+ * @async
6111
+ * @memberof EntityFieldValueEntity
6112
+ * @method
6113
+ * @override
6114
+ */
6115
+ async Load(ID, EntityRelationshipsToLoad = null) {
6116
+ const pkeyValues = [];
6117
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6118
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6119
+ }
5505
6120
  /**
5506
6121
  * * Field Name: ID
5507
6122
  * * Display Name: ID
@@ -5615,12 +6230,27 @@ exports.EntityFieldValueEntity = EntityFieldValueEntity = __decorate([
5615
6230
  * * Base Table: AIModel
5616
6231
  * * Base View: vwAIModels
5617
6232
  * * Primary Key: ID
5618
- * * Description: null
5619
6233
  * @extends {BaseEntity}
5620
6234
  * @class
5621
6235
  * @public
5622
6236
  */
5623
6237
  let AIModelEntity = class AIModelEntity extends core_1.BaseEntity {
6238
+ /**
6239
+ * Loads the AI Models record from the database
6240
+ * @param ID: Number - primary key value to load the AI Models record.
6241
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6242
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6243
+ * @public
6244
+ * @async
6245
+ * @memberof AIModelEntity
6246
+ * @method
6247
+ * @override
6248
+ */
6249
+ async Load(ID, EntityRelationshipsToLoad = null) {
6250
+ const pkeyValues = [];
6251
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6252
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6253
+ }
5624
6254
  /**
5625
6255
  * * Field Name: ID
5626
6256
  * * Display Name: ID
@@ -5737,12 +6367,27 @@ exports.AIModelEntity = AIModelEntity = __decorate([
5737
6367
  * * Base Table: AIAction
5738
6368
  * * Base View: vwAIActions
5739
6369
  * * Primary Key: ID
5740
- * * Description: null
5741
6370
  * @extends {BaseEntity}
5742
6371
  * @class
5743
6372
  * @public
5744
6373
  */
5745
6374
  let AIActionEntity = class AIActionEntity extends core_1.BaseEntity {
6375
+ /**
6376
+ * Loads the AI Actions record from the database
6377
+ * @param ID: Number - primary key value to load the AI Actions record.
6378
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6379
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6380
+ * @public
6381
+ * @async
6382
+ * @memberof AIActionEntity
6383
+ * @method
6384
+ * @override
6385
+ */
6386
+ async Load(ID, EntityRelationshipsToLoad = null) {
6387
+ const pkeyValues = [];
6388
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6389
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6390
+ }
5746
6391
  /**
5747
6392
  * * Field Name: ID
5748
6393
  * * Display Name: ID
@@ -5845,12 +6490,27 @@ exports.AIActionEntity = AIActionEntity = __decorate([
5845
6490
  * * Base Table: AIModelAction
5846
6491
  * * Base View: vwAIModelActions
5847
6492
  * * Primary Key: ID
5848
- * * Description: null
5849
6493
  * @extends {BaseEntity}
5850
6494
  * @class
5851
6495
  * @public
5852
6496
  */
5853
6497
  let AIModelActionEntity = class AIModelActionEntity extends core_1.BaseEntity {
6498
+ /**
6499
+ * Loads the AI Model Actions record from the database
6500
+ * @param ID: Number - primary key value to load the AI Model Actions record.
6501
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6502
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6503
+ * @public
6504
+ * @async
6505
+ * @memberof AIModelActionEntity
6506
+ * @method
6507
+ * @override
6508
+ */
6509
+ async Load(ID, EntityRelationshipsToLoad = null) {
6510
+ const pkeyValues = [];
6511
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6512
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6513
+ }
5854
6514
  /**
5855
6515
  * * Field Name: ID
5856
6516
  * * Display Name: ID
@@ -5940,12 +6600,27 @@ exports.AIModelActionEntity = AIModelActionEntity = __decorate([
5940
6600
  * * Base Table: EntityAIAction
5941
6601
  * * Base View: vwEntityAIActions
5942
6602
  * * Primary Key: ID
5943
- * * Description: null
5944
6603
  * @extends {BaseEntity}
5945
6604
  * @class
5946
6605
  * @public
5947
6606
  */
5948
6607
  let EntityAIActionEntity = class EntityAIActionEntity extends core_1.BaseEntity {
6608
+ /**
6609
+ * Loads the Entity AI Actions record from the database
6610
+ * @param ID: Number - primary key value to load the Entity AI Actions record.
6611
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6612
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6613
+ * @public
6614
+ * @async
6615
+ * @memberof EntityAIActionEntity
6616
+ * @method
6617
+ * @override
6618
+ */
6619
+ async Load(ID, EntityRelationshipsToLoad = null) {
6620
+ const pkeyValues = [];
6621
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6622
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6623
+ }
5949
6624
  /**
5950
6625
  * * Field Name: ID
5951
6626
  * * Display Name: ID
@@ -6136,12 +6811,27 @@ exports.EntityAIActionEntity = EntityAIActionEntity = __decorate([
6136
6811
  * * Base Table: AIModelType
6137
6812
  * * Base View: vwAIModelTypes
6138
6813
  * * Primary Key: ID
6139
- * * Description: null
6140
6814
  * @extends {BaseEntity}
6141
6815
  * @class
6142
6816
  * @public
6143
6817
  */
6144
6818
  let AIModelTypeEntity = class AIModelTypeEntity extends core_1.BaseEntity {
6819
+ /**
6820
+ * Loads the AI Model Types record from the database
6821
+ * @param ID: Number - primary key value to load the AI Model Types record.
6822
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6823
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6824
+ * @public
6825
+ * @async
6826
+ * @memberof AIModelTypeEntity
6827
+ * @method
6828
+ * @override
6829
+ */
6830
+ async Load(ID, EntityRelationshipsToLoad = null) {
6831
+ const pkeyValues = [];
6832
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6833
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6834
+ }
6145
6835
  /**
6146
6836
  * * Field Name: ID
6147
6837
  * * Display Name: ID
@@ -6183,12 +6873,27 @@ exports.AIModelTypeEntity = AIModelTypeEntity = __decorate([
6183
6873
  * * Base Table: QueueType
6184
6874
  * * Base View: vwQueueTypes
6185
6875
  * * Primary Key: ID
6186
- * * Description: null
6187
6876
  * @extends {BaseEntity}
6188
6877
  * @class
6189
6878
  * @public
6190
6879
  */
6191
6880
  let QueueTypeEntity = class QueueTypeEntity extends core_1.BaseEntity {
6881
+ /**
6882
+ * Loads the Queue Types record from the database
6883
+ * @param ID: Number - primary key value to load the Queue Types record.
6884
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6885
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6886
+ * @public
6887
+ * @async
6888
+ * @memberof QueueTypeEntity
6889
+ * @method
6890
+ * @override
6891
+ */
6892
+ async Load(ID, EntityRelationshipsToLoad = null) {
6893
+ const pkeyValues = [];
6894
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6895
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6896
+ }
6192
6897
  /**
6193
6898
  * * Field Name: ID
6194
6899
  * * Display Name: ID
@@ -6264,12 +6969,27 @@ exports.QueueTypeEntity = QueueTypeEntity = __decorate([
6264
6969
  * * Base Table: Queue
6265
6970
  * * Base View: vwQueues
6266
6971
  * * Primary Key: ID
6267
- * * Description: null
6268
6972
  * @extends {BaseEntity}
6269
6973
  * @class
6270
6974
  * @public
6271
6975
  */
6272
6976
  let QueueEntity = class QueueEntity extends core_1.BaseEntity {
6977
+ /**
6978
+ * Loads the Queues record from the database
6979
+ * @param ID: Number - primary key value to load the Queues record.
6980
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
6981
+ * @returns {Promise<boolean>} - true if successful, false otherwise
6982
+ * @public
6983
+ * @async
6984
+ * @memberof QueueEntity
6985
+ * @method
6986
+ * @override
6987
+ */
6988
+ async Load(ID, EntityRelationshipsToLoad = null) {
6989
+ const pkeyValues = [];
6990
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
6991
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
6992
+ }
6273
6993
  /**
6274
6994
  * * Field Name: ID
6275
6995
  * * Display Name: ID
@@ -6494,12 +7214,27 @@ exports.QueueEntity = QueueEntity = __decorate([
6494
7214
  * * Base Table: QueueTask
6495
7215
  * * Base View: vwQueueTasks
6496
7216
  * * Primary Key: ID
6497
- * * Description: null
6498
7217
  * @extends {BaseEntity}
6499
7218
  * @class
6500
7219
  * @public
6501
7220
  */
6502
7221
  let QueueTaskEntity = class QueueTaskEntity extends core_1.BaseEntity {
7222
+ /**
7223
+ * Loads the Queue Tasks record from the database
7224
+ * @param ID: Number - primary key value to load the Queue Tasks record.
7225
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7226
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7227
+ * @public
7228
+ * @async
7229
+ * @memberof QueueTaskEntity
7230
+ * @method
7231
+ * @override
7232
+ */
7233
+ async Load(ID, EntityRelationshipsToLoad = null) {
7234
+ const pkeyValues = [];
7235
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7236
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7237
+ }
6503
7238
  /**
6504
7239
  * * Field Name: ID
6505
7240
  * * Display Name: ID
@@ -6620,12 +7355,27 @@ exports.QueueTaskEntity = QueueTaskEntity = __decorate([
6620
7355
  * * Base Table: Dashboard
6621
7356
  * * Base View: vwDashboards
6622
7357
  * * Primary Key: ID
6623
- * * Description: null
6624
7358
  * @extends {BaseEntity}
6625
7359
  * @class
6626
7360
  * @public
6627
7361
  */
6628
7362
  let DashboardEntity = class DashboardEntity extends core_1.BaseEntity {
7363
+ /**
7364
+ * Loads the Dashboards record from the database
7365
+ * @param ID: Number - primary key value to load the Dashboards record.
7366
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7367
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7368
+ * @public
7369
+ * @async
7370
+ * @memberof DashboardEntity
7371
+ * @method
7372
+ * @override
7373
+ */
7374
+ async Load(ID, EntityRelationshipsToLoad = null) {
7375
+ const pkeyValues = [];
7376
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7377
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7378
+ }
6629
7379
  /**
6630
7380
  * * Field Name: ID
6631
7381
  * * Display Name: ID
@@ -6698,12 +7448,27 @@ exports.DashboardEntity = DashboardEntity = __decorate([
6698
7448
  * * Base Table: OutputTriggerType
6699
7449
  * * Base View: vwOutputTriggerTypes
6700
7450
  * * Primary Key: ID
6701
- * * Description: null
6702
7451
  * @extends {BaseEntity}
6703
7452
  * @class
6704
7453
  * @public
6705
7454
  */
6706
7455
  let OutputTriggerTypeEntity = class OutputTriggerTypeEntity extends core_1.BaseEntity {
7456
+ /**
7457
+ * Loads the Output Trigger Types record from the database
7458
+ * @param ID: Number - primary key value to load the Output Trigger Types record.
7459
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7460
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7461
+ * @public
7462
+ * @async
7463
+ * @memberof OutputTriggerTypeEntity
7464
+ * @method
7465
+ * @override
7466
+ */
7467
+ async Load(ID, EntityRelationshipsToLoad = null) {
7468
+ const pkeyValues = [];
7469
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7470
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7471
+ }
6707
7472
  /**
6708
7473
  * * Field Name: ID
6709
7474
  * * Display Name: ID
@@ -6745,12 +7510,27 @@ exports.OutputTriggerTypeEntity = OutputTriggerTypeEntity = __decorate([
6745
7510
  * * Base Table: OutputFormatType
6746
7511
  * * Base View: vwOutputFormatTypes
6747
7512
  * * Primary Key: ID
6748
- * * Description: null
6749
7513
  * @extends {BaseEntity}
6750
7514
  * @class
6751
7515
  * @public
6752
7516
  */
6753
7517
  let OutputFormatTypeEntity = class OutputFormatTypeEntity extends core_1.BaseEntity {
7518
+ /**
7519
+ * Loads the Output Format Types record from the database
7520
+ * @param ID: Number - primary key value to load the Output Format Types record.
7521
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7522
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7523
+ * @public
7524
+ * @async
7525
+ * @memberof OutputFormatTypeEntity
7526
+ * @method
7527
+ * @override
7528
+ */
7529
+ async Load(ID, EntityRelationshipsToLoad = null) {
7530
+ const pkeyValues = [];
7531
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7532
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7533
+ }
6754
7534
  /**
6755
7535
  * * Field Name: ID
6756
7536
  * * Display Name: ID
@@ -6803,12 +7583,27 @@ exports.OutputFormatTypeEntity = OutputFormatTypeEntity = __decorate([
6803
7583
  * * Base Table: OutputDeliveryType
6804
7584
  * * Base View: vwOutputDeliveryTypes
6805
7585
  * * Primary Key: ID
6806
- * * Description: null
6807
7586
  * @extends {BaseEntity}
6808
7587
  * @class
6809
7588
  * @public
6810
7589
  */
6811
7590
  let OutputDeliveryTypeEntity = class OutputDeliveryTypeEntity extends core_1.BaseEntity {
7591
+ /**
7592
+ * Loads the Output Delivery Types record from the database
7593
+ * @param ID: Number - primary key value to load the Output Delivery Types record.
7594
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7595
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7596
+ * @public
7597
+ * @async
7598
+ * @memberof OutputDeliveryTypeEntity
7599
+ * @method
7600
+ * @override
7601
+ */
7602
+ async Load(ID, EntityRelationshipsToLoad = null) {
7603
+ const pkeyValues = [];
7604
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7605
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7606
+ }
6812
7607
  /**
6813
7608
  * * Field Name: ID
6814
7609
  * * Display Name: ID
@@ -6850,12 +7645,27 @@ exports.OutputDeliveryTypeEntity = OutputDeliveryTypeEntity = __decorate([
6850
7645
  * * Base Table: Report
6851
7646
  * * Base View: vwReports
6852
7647
  * * Primary Key: ID
6853
- * * Description: null
6854
7648
  * @extends {BaseEntity}
6855
7649
  * @class
6856
7650
  * @public
6857
7651
  */
6858
7652
  let ReportEntity = class ReportEntity extends core_1.BaseEntity {
7653
+ /**
7654
+ * Loads the Reports record from the database
7655
+ * @param ID: Number - primary key value to load the Reports record.
7656
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7657
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7658
+ * @public
7659
+ * @async
7660
+ * @memberof ReportEntity
7661
+ * @method
7662
+ * @override
7663
+ */
7664
+ async Load(ID, EntityRelationshipsToLoad = null) {
7665
+ const pkeyValues = [];
7666
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7667
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7668
+ }
6859
7669
  /**
6860
7670
  * * Field Name: ID
6861
7671
  * * Display Name: ID
@@ -7115,12 +7925,27 @@ exports.ReportEntity = ReportEntity = __decorate([
7115
7925
  * * Base Table: ReportSnapshot
7116
7926
  * * Base View: vwReportSnapshots
7117
7927
  * * Primary Key: ID
7118
- * * Description: null
7119
7928
  * @extends {BaseEntity}
7120
7929
  * @class
7121
7930
  * @public
7122
7931
  */
7123
7932
  let ReportSnapshotEntity = class ReportSnapshotEntity extends core_1.BaseEntity {
7933
+ /**
7934
+ * Loads the Report Snapshots record from the database
7935
+ * @param ID: Number - primary key value to load the Report Snapshots record.
7936
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
7937
+ * @returns {Promise<boolean>} - true if successful, false otherwise
7938
+ * @public
7939
+ * @async
7940
+ * @memberof ReportSnapshotEntity
7941
+ * @method
7942
+ * @override
7943
+ */
7944
+ async Load(ID, EntityRelationshipsToLoad = null) {
7945
+ const pkeyValues = [];
7946
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
7947
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
7948
+ }
7124
7949
  /**
7125
7950
  * * Field Name: ID
7126
7951
  * * Display Name: ID
@@ -7200,12 +8025,27 @@ exports.ReportSnapshotEntity = ReportSnapshotEntity = __decorate([
7200
8025
  * * Base Table: ResourceType
7201
8026
  * * Base View: vwResourceTypes
7202
8027
  * * Primary Key: ID
7203
- * * Description: null
7204
8028
  * @extends {BaseEntity}
7205
8029
  * @class
7206
8030
  * @public
7207
8031
  */
7208
8032
  let ResourceTypeEntity = class ResourceTypeEntity extends core_1.BaseEntity {
8033
+ /**
8034
+ * Loads the Resource Types record from the database
8035
+ * @param ID: Number - primary key value to load the Resource Types record.
8036
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8037
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8038
+ * @public
8039
+ * @async
8040
+ * @memberof ResourceTypeEntity
8041
+ * @method
8042
+ * @override
8043
+ */
8044
+ async Load(ID, EntityRelationshipsToLoad = null) {
8045
+ const pkeyValues = [];
8046
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8047
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8048
+ }
7209
8049
  /**
7210
8050
  * * Field Name: ID
7211
8051
  * * Display Name: ID
@@ -7307,12 +8147,27 @@ exports.ResourceTypeEntity = ResourceTypeEntity = __decorate([
7307
8147
  * * Base Table: Tag
7308
8148
  * * Base View: vwTags
7309
8149
  * * Primary Key: ID
7310
- * * Description: null
7311
8150
  * @extends {BaseEntity}
7312
8151
  * @class
7313
8152
  * @public
7314
8153
  */
7315
8154
  let TagEntity = class TagEntity extends core_1.BaseEntity {
8155
+ /**
8156
+ * Loads the Tags record from the database
8157
+ * @param ID: Number - primary key value to load the Tags record.
8158
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8159
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8160
+ * @public
8161
+ * @async
8162
+ * @memberof TagEntity
8163
+ * @method
8164
+ * @override
8165
+ */
8166
+ async Load(ID, EntityRelationshipsToLoad = null) {
8167
+ const pkeyValues = [];
8168
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8169
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8170
+ }
7316
8171
  /**
7317
8172
  * * Field Name: ID
7318
8173
  * * Display Name: ID
@@ -7385,12 +8240,27 @@ exports.TagEntity = TagEntity = __decorate([
7385
8240
  * * Base Table: TaggedItem
7386
8241
  * * Base View: vwTaggedItems
7387
8242
  * * Primary Key: ID
7388
- * * Description: null
7389
8243
  * @extends {BaseEntity}
7390
8244
  * @class
7391
8245
  * @public
7392
8246
  */
7393
8247
  let TaggedItemEntity = class TaggedItemEntity extends core_1.BaseEntity {
8248
+ /**
8249
+ * Loads the Tagged Items record from the database
8250
+ * @param ID: Number - primary key value to load the Tagged Items record.
8251
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8252
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8253
+ * @public
8254
+ * @async
8255
+ * @memberof TaggedItemEntity
8256
+ * @method
8257
+ * @override
8258
+ */
8259
+ async Load(ID, EntityRelationshipsToLoad = null) {
8260
+ const pkeyValues = [];
8261
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8262
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8263
+ }
7394
8264
  /**
7395
8265
  * * Field Name: ID
7396
8266
  * * Display Name: ID
@@ -7461,12 +8331,27 @@ exports.TaggedItemEntity = TaggedItemEntity = __decorate([
7461
8331
  * * Base Table: Workspace
7462
8332
  * * Base View: vwWorkspaces
7463
8333
  * * Primary Key: ID
7464
- * * Description: null
7465
8334
  * @extends {BaseEntity}
7466
8335
  * @class
7467
8336
  * @public
7468
8337
  */
7469
8338
  let WorkspaceEntity = class WorkspaceEntity extends core_1.BaseEntity {
8339
+ /**
8340
+ * Loads the Workspaces record from the database
8341
+ * @param ID: Number - primary key value to load the Workspaces record.
8342
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8343
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8344
+ * @public
8345
+ * @async
8346
+ * @memberof WorkspaceEntity
8347
+ * @method
8348
+ * @override
8349
+ */
8350
+ async Load(ID, EntityRelationshipsToLoad = null) {
8351
+ const pkeyValues = [];
8352
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8353
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8354
+ }
7470
8355
  /**
7471
8356
  * * Field Name: ID
7472
8357
  * * Display Name: ID
@@ -7528,12 +8413,27 @@ exports.WorkspaceEntity = WorkspaceEntity = __decorate([
7528
8413
  * * Base Table: WorkspaceItem
7529
8414
  * * Base View: vwWorkspaceItems
7530
8415
  * * Primary Key: ID
7531
- * * Description: null
7532
8416
  * @extends {BaseEntity}
7533
8417
  * @class
7534
8418
  * @public
7535
8419
  */
7536
8420
  let WorkspaceItemEntity = class WorkspaceItemEntity extends core_1.BaseEntity {
8421
+ /**
8422
+ * Loads the Workspace Items record from the database
8423
+ * @param ID: Number - primary key value to load the Workspace Items record.
8424
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8425
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8426
+ * @public
8427
+ * @async
8428
+ * @memberof WorkspaceItemEntity
8429
+ * @method
8430
+ * @override
8431
+ */
8432
+ async Load(ID, EntityRelationshipsToLoad = null) {
8433
+ const pkeyValues = [];
8434
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8435
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8436
+ }
7537
8437
  /**
7538
8438
  * * Field Name: ID
7539
8439
  * * Display Name: ID
@@ -7648,12 +8548,27 @@ exports.WorkspaceItemEntity = WorkspaceItemEntity = __decorate([
7648
8548
  * * Base Table: Dataset
7649
8549
  * * Base View: vwDatasets
7650
8550
  * * Primary Key: ID
7651
- * * Description: null
7652
8551
  * @extends {BaseEntity}
7653
8552
  * @class
7654
8553
  * @public
7655
8554
  */
7656
8555
  let DatasetEntity = class DatasetEntity extends core_1.BaseEntity {
8556
+ /**
8557
+ * Loads the Datasets record from the database
8558
+ * @param ID: Number - primary key value to load the Datasets record.
8559
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8560
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8561
+ * @public
8562
+ * @async
8563
+ * @memberof DatasetEntity
8564
+ * @method
8565
+ * @override
8566
+ */
8567
+ async Load(ID, EntityRelationshipsToLoad = null) {
8568
+ const pkeyValues = [];
8569
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8570
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8571
+ }
7657
8572
  /**
7658
8573
  * * Field Name: ID
7659
8574
  * * Display Name: ID
@@ -7713,12 +8628,27 @@ exports.DatasetEntity = DatasetEntity = __decorate([
7713
8628
  * * Base Table: DatasetItem
7714
8629
  * * Base View: vwDatasetItems
7715
8630
  * * Primary Key: ID
7716
- * * Description: null
7717
8631
  * @extends {BaseEntity}
7718
8632
  * @class
7719
8633
  * @public
7720
8634
  */
7721
8635
  let DatasetItemEntity = class DatasetItemEntity extends core_1.BaseEntity {
8636
+ /**
8637
+ * Loads the Dataset Items record from the database
8638
+ * @param ID: Number - primary key value to load the Dataset Items record.
8639
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8640
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8641
+ * @public
8642
+ * @async
8643
+ * @memberof DatasetItemEntity
8644
+ * @method
8645
+ * @override
8646
+ */
8647
+ async Load(ID, EntityRelationshipsToLoad = null) {
8648
+ const pkeyValues = [];
8649
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8650
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8651
+ }
7722
8652
  /**
7723
8653
  * * Field Name: ID
7724
8654
  * * Display Name: ID
@@ -7844,12 +8774,27 @@ exports.DatasetItemEntity = DatasetItemEntity = __decorate([
7844
8774
  * * Base Table: ConversationDetail
7845
8775
  * * Base View: vwConversationDetails
7846
8776
  * * Primary Key: ID
7847
- * * Description: null
7848
8777
  * @extends {BaseEntity}
7849
8778
  * @class
7850
8779
  * @public
7851
8780
  */
7852
8781
  let ConversationDetailEntity = class ConversationDetailEntity extends core_1.BaseEntity {
8782
+ /**
8783
+ * Loads the Conversation Details record from the database
8784
+ * @param ID: Number - primary key value to load the Conversation Details record.
8785
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8786
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8787
+ * @public
8788
+ * @async
8789
+ * @memberof ConversationDetailEntity
8790
+ * @method
8791
+ * @override
8792
+ */
8793
+ async Load(ID, EntityRelationshipsToLoad = null) {
8794
+ const pkeyValues = [];
8795
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8796
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8797
+ }
7853
8798
  /**
7854
8799
  * * Field Name: ID
7855
8800
  * * Display Name: ID
@@ -7952,12 +8897,27 @@ exports.ConversationDetailEntity = ConversationDetailEntity = __decorate([
7952
8897
  * * Base Table: Conversation
7953
8898
  * * Base View: vwConversations
7954
8899
  * * Primary Key: ID
7955
- * * Description: null
7956
8900
  * @extends {BaseEntity}
7957
8901
  * @class
7958
8902
  * @public
7959
8903
  */
7960
8904
  let ConversationEntity = class ConversationEntity extends core_1.BaseEntity {
8905
+ /**
8906
+ * Loads the Conversations record from the database
8907
+ * @param ID: Number - primary key value to load the Conversations record.
8908
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8909
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8910
+ * @public
8911
+ * @async
8912
+ * @memberof ConversationEntity
8913
+ * @method
8914
+ * @override
8915
+ */
8916
+ async Load(ID, EntityRelationshipsToLoad = null) {
8917
+ const pkeyValues = [];
8918
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
8919
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
8920
+ }
7961
8921
  /**
7962
8922
  * * Field Name: ID
7963
8923
  * * Display Name: ID
@@ -8037,12 +8997,27 @@ exports.ConversationEntity = ConversationEntity = __decorate([
8037
8997
  * * Base Table: UserNotification
8038
8998
  * * Base View: vwUserNotifications
8039
8999
  * * Primary Key: ID
8040
- * * Description: null
8041
9000
  * @extends {BaseEntity}
8042
9001
  * @class
8043
9002
  * @public
8044
9003
  */
8045
9004
  let UserNotificationEntity = class UserNotificationEntity extends core_1.BaseEntity {
9005
+ /**
9006
+ * Loads the User Notifications record from the database
9007
+ * @param ID: Number - primary key value to load the User Notifications record.
9008
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
9009
+ * @returns {Promise<boolean>} - true if successful, false otherwise
9010
+ * @public
9011
+ * @async
9012
+ * @memberof UserNotificationEntity
9013
+ * @method
9014
+ * @override
9015
+ */
9016
+ async Load(ID, EntityRelationshipsToLoad = null) {
9017
+ const pkeyValues = [];
9018
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
9019
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
9020
+ }
8046
9021
  /**
8047
9022
  * * Field Name: ID
8048
9023
  * * Display Name: ID
@@ -8178,12 +9153,27 @@ exports.UserNotificationEntity = UserNotificationEntity = __decorate([
8178
9153
  * * Base Table: ResourceFolder
8179
9154
  * * Base View: vwResourceFolders
8180
9155
  * * Primary Key: ID
8181
- * * Description: null
8182
9156
  * @extends {BaseEntity}
8183
9157
  * @class
8184
9158
  * @public
8185
9159
  */
8186
9160
  let ResourceFolderEntity = class ResourceFolderEntity extends core_1.BaseEntity {
9161
+ /**
9162
+ * Loads the Resource Folders record from the database
9163
+ * @param ID: Number - primary key value to load the Resource Folders record.
9164
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
9165
+ * @returns {Promise<boolean>} - true if successful, false otherwise
9166
+ * @public
9167
+ * @async
9168
+ * @memberof ResourceFolderEntity
9169
+ * @method
9170
+ * @override
9171
+ */
9172
+ async Load(ID, EntityRelationshipsToLoad = null) {
9173
+ const pkeyValues = [];
9174
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
9175
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
9176
+ }
8187
9177
  /**
8188
9178
  * * Field Name: ID
8189
9179
  * * Display Name: ID
@@ -8295,12 +9285,27 @@ exports.ResourceFolderEntity = ResourceFolderEntity = __decorate([
8295
9285
  * * Base Table: SchemaInfo
8296
9286
  * * Base View: vwSchemaInfos
8297
9287
  * * Primary Key: ID
8298
- * * Description: null
8299
9288
  * @extends {BaseEntity}
8300
9289
  * @class
8301
9290
  * @public
8302
9291
  */
8303
9292
  let SchemaInfoEntity = class SchemaInfoEntity extends core_1.BaseEntity {
9293
+ /**
9294
+ * Loads the Schema Info record from the database
9295
+ * @param ID: Number - primary key value to load the Schema Info record.
9296
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
9297
+ * @returns {Promise<boolean>} - true if successful, false otherwise
9298
+ * @public
9299
+ * @async
9300
+ * @memberof SchemaInfoEntity
9301
+ * @method
9302
+ * @override
9303
+ */
9304
+ async Load(ID, EntityRelationshipsToLoad = null) {
9305
+ const pkeyValues = [];
9306
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
9307
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
9308
+ }
8304
9309
  /**
8305
9310
  * * Field Name: ID
8306
9311
  * * Display Name: ID
@@ -8382,12 +9387,27 @@ exports.SchemaInfoEntity = SchemaInfoEntity = __decorate([
8382
9387
  * * Base Table: CompanyIntegrationRecordMap
8383
9388
  * * Base View: vwCompanyIntegrationRecordMaps
8384
9389
  * * Primary Key: ID
8385
- * * Description: null
8386
9390
  * @extends {BaseEntity}
8387
9391
  * @class
8388
9392
  * @public
8389
9393
  */
8390
9394
  let CompanyIntegrationRecordMapEntity = class CompanyIntegrationRecordMapEntity extends core_1.BaseEntity {
9395
+ /**
9396
+ * Loads the Company Integration Record Maps record from the database
9397
+ * @param ID: Number - primary key value to load the Company Integration Record Maps record.
9398
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
9399
+ * @returns {Promise<boolean>} - true if successful, false otherwise
9400
+ * @public
9401
+ * @async
9402
+ * @memberof CompanyIntegrationRecordMapEntity
9403
+ * @method
9404
+ * @override
9405
+ */
9406
+ async Load(ID, EntityRelationshipsToLoad = null) {
9407
+ const pkeyValues = [];
9408
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
9409
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
9410
+ }
8391
9411
  /**
8392
9412
  * * Field Name: ID
8393
9413
  * * Display Name: ID
@@ -8479,12 +9499,27 @@ exports.CompanyIntegrationRecordMapEntity = CompanyIntegrationRecordMapEntity =
8479
9499
  * * Base Table: RecordMergeLog
8480
9500
  * * Base View: vwRecordMergeLogs
8481
9501
  * * Primary Key: ID
8482
- * * Description: null
8483
9502
  * @extends {BaseEntity}
8484
9503
  * @class
8485
9504
  * @public
8486
9505
  */
8487
9506
  let RecordMergeLogEntity = class RecordMergeLogEntity extends core_1.BaseEntity {
9507
+ /**
9508
+ * Loads the Record Merge Logs record from the database
9509
+ * @param ID: Number - primary key value to load the Record Merge Logs record.
9510
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
9511
+ * @returns {Promise<boolean>} - true if successful, false otherwise
9512
+ * @public
9513
+ * @async
9514
+ * @memberof RecordMergeLogEntity
9515
+ * @method
9516
+ * @override
9517
+ */
9518
+ async Load(ID, EntityRelationshipsToLoad = null) {
9519
+ const pkeyValues = [];
9520
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
9521
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
9522
+ }
8488
9523
  /**
8489
9524
  * * Field Name: ID
8490
9525
  * * Display Name: ID
@@ -8653,12 +9688,27 @@ exports.RecordMergeLogEntity = RecordMergeLogEntity = __decorate([
8653
9688
  * * Base Table: RecordMergeDeletionLog
8654
9689
  * * Base View: vwRecordMergeDeletionLogs
8655
9690
  * * Primary Key: ID
8656
- * * Description: null
8657
9691
  * @extends {BaseEntity}
8658
9692
  * @class
8659
9693
  * @public
8660
9694
  */
8661
9695
  let RecordMergeDeletionLogEntity = class RecordMergeDeletionLogEntity extends core_1.BaseEntity {
9696
+ /**
9697
+ * Loads the Record Merge Deletion Logs record from the database
9698
+ * @param ID: Number - primary key value to load the Record Merge Deletion Logs record.
9699
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
9700
+ * @returns {Promise<boolean>} - true if successful, false otherwise
9701
+ * @public
9702
+ * @async
9703
+ * @memberof RecordMergeDeletionLogEntity
9704
+ * @method
9705
+ * @override
9706
+ */
9707
+ async Load(ID, EntityRelationshipsToLoad = null) {
9708
+ const pkeyValues = [];
9709
+ pkeyValues.push({ FieldName: 'ID', Value: ID });
9710
+ return await super.InnerLoad(pkeyValues, EntityRelationshipsToLoad);
9711
+ }
8662
9712
  /**
8663
9713
  * * Field Name: ID
8664
9714
  * * Display Name: ID