0
我試圖在另一個嵌套forloop容器。我不斷收到錯誤,該子元素是不允許的。BIML嵌套For循環容器
如何嵌套循環?
<ForLoop Name="For loop for Year">
<PrecedenceConstraints>
<Inputs>
<Input OutputPathName="Find count of rows.Output" SsisName="No data exist" PathAnnotation="ConstraintName" EvaluationOperation="Expression" EvaluationValue="Success" Expression="@[User::CountRows]==0" />
</Inputs>
</PrecedenceConstraints>
<InitializerExpression>@StartYear</InitializerExpression>
<LoopTestExpression><![CDATA[@StartYear <= @EndYear]]></LoopTestExpression>
<CountingExpression><![CDATA[@StartYear = @StartYear + 1]]></CountingExpression>
<ForLoop Name="For loop for Month">
<InitializerExpression>@StartMonth</InitializerExpression>
<LoopTestExpression><![CDATA[@StartMonth <= @EndMonth]]></LoopTestExpression>
<CountingExpression>@StartMonth = @StartMonth + 1</CountingExpression>
</ForLoop>
</ForLoop>