Add integer data area type id

This commit is contained in:
Meik
2026-03-29 23:26:16 +02:00
parent cd133c67e1
commit 45009dfacc
3 changed files with 332 additions and 329 deletions

View File

@@ -373,6 +373,7 @@ namespace C4IT.LIAM
public string Description { get; set; }
public string UniqueId { get; set; }
public string DataAreaType { get; set; }
public int DataAreaTypeId { get; set; }
}
public class LiamApiVersionInfo
{

View File

@@ -1178,6 +1178,7 @@ where ";
Level = DataArea.Level.ToString(),
ConfigurationId = ProviderEntry.ObjectID.ToString(),
DataAreaType = DataArea.DataType.ToString(),
DataAreaTypeId = (int)DataArea.DataType,
Owner = owner,
Write = write,
Read = DataAreaNtfsFolder?.ReadGroupIdentifier ?? string.Empty,

View File

@@ -669,7 +669,8 @@ namespace LiamWorkflowActivities
ConfigurationId = configurationId ?? string.Empty,
BaseFolder = ntfsFolder?.Share?.TechnicalName ?? dataArea.Provider?.RootPath ?? string.Empty,
UniqueId = dataArea.UID ?? string.Empty,
DataAreaType = dataArea.DataType.ToString()
DataAreaType = dataArea.DataType.ToString(),
DataAreaTypeId = (int)dataArea.DataType
};
}