IAzureCosmosDbCreateEnvironment Method
Creates an environment in the database.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<EnvironmentDto> CreateEnvironment(
EnvironmentDto environment,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)
- environment EnvironmentDto
- Environment to create
- createdBy UserSessionData
- User creating the environment
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskEnvironmentDtoCosmos DB Object-creation
Task