IAzureCosmosDbGetCompanyHierarchy Method
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<MutableEntityTreeNode<ICompanyComponent>> GetCompanyHierarchy(
CompanyDto company,
EnvironmentDto? startAtEnvironment = null,
CancellationToken cancellationToken = default
)
- company CompanyDto
- The CompanyDto to gather data about
- startAtEnvironment EnvironmentDto (Optional)
- Which environment to scope from. If is entered, we will make the entire company hierarchy
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskMutableEntityTreeNodeICompanyComponentA tree with all the data of the company. The root node will be the main
EnvironmentDto