in code/KustoCopyConsole/Entity/RowItems/ExtentRowItem.cs [21:46]
public override void Validate()
{
if (string.IsNullOrWhiteSpace(ActivityName))
{
throw new InvalidDataException($"{nameof(ActivityName)} must have a value");
}
if (IterationId < 1)
{
throw new InvalidDataException(
$"{nameof(IterationId)} should be positive but is {IterationId}");
}
if (BlockId < 1)
{
throw new InvalidDataException(
$"{nameof(BlockId)} should be positive but is {BlockId}");
}
if (string.IsNullOrWhiteSpace(ExtentId))
{
throw new InvalidDataException($"{nameof(ExtentId)} must have a value");
}
if (RowCount < 1)
{
throw new InvalidDataException(
$"{nameof(RowCount)} should be positive but is {RowCount}");
}
}