-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSolutionComponent.cs
More file actions
74 lines (70 loc) · 1.96 KB
/
Copy pathSolutionComponent.cs
File metadata and controls
74 lines (70 loc) · 1.96 KB
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
namespace Generator.DTO;
/// <summary>
/// Solution component types from Dataverse.
/// See: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/solutioncomponent
/// </summary>
public enum SolutionComponentType
{
Entity = 1,
Attribute = 2,
OptionSet = 9,
Relationship = 10,
EntityKey = 14,
SecurityRole = 20,
SavedQuery = 26,
Workflow = 29,
RibbonCustomization = 50,
SavedQueryVisualization = 59,
SystemForm = 60,
WebResource = 61,
SiteMap = 62,
ConnectionRole = 63,
HierarchyRule = 65,
CustomControl = 66,
FieldSecurityProfile = 70,
ModelDrivenApp = 80,
PluginAssembly = 91,
SDKMessageProcessingStep = 92,
CanvasApp = 300,
ConnectionReference = 372,
EnvironmentVariableDefinition = 380,
EnvironmentVariableValue = 381,
Dataflow = 418,
ConnectionRoleObjectTypeCode = 3233,
CustomAPI = 10240,
CustomAPIRequestParameter = 10241,
CustomAPIResponseProperty = 10242,
PluginPackage = 10639,
OrganizationSetting = 10563,
AppAction = 10645,
AppActionRule = 10948,
FxExpression = 11492,
DVFileSearch = 11723,
DVFileSearchAttribute = 11724,
DVFileSearchEntity = 11725,
AISkillConfig = 12075,
}
public record SolutionComponent(
string Name,
string SchemaName,
string Description,
SolutionComponentType ComponentType,
string PublisherName,
string PublisherPrefix);
/// <summary>
/// Represents a solution component with its solution membership info for the insights view.
/// </summary>
public record SolutionComponentData(
string Name,
string SchemaName,
SolutionComponentType ComponentType,
Guid ObjectId,
bool IsExplicit,
string? RelatedTable = null);
/// <summary>
/// Collection of solution components grouped by solution.
/// </summary>
public record SolutionComponentCollection(
Guid SolutionId,
string SolutionName,
List<SolutionComponentData> Components);