Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssis 如何根据生成的代码编译BIMLScript_Ssis_Biml - Fatal编程技术网

Ssis 如何根据生成的代码编译BIMLScript

Ssis 如何根据生成的代码编译BIMLScript,ssis,biml,Ssis,Biml,我正在使用BIML创建一个ScriptComponentSource和一个ScriptComponentProject。 该项目包含以下内容(取自Varigence样本) 由于BIML扩展不知道Output0Buffer和重写方法(它们将自动创建),因此无法编译 有办法解决这个鸡蛋问题吗?我在博客上写过, 您需要将输出缓冲区的IsSynchronous属性指定为false。否则,它会将组件视为同步转换 <OutputBuffer Name="Output0" IsSynchronou

我正在使用BIML创建一个ScriptComponentSource和一个ScriptComponentProject。 该项目包含以下内容(取自Varigence样本)


由于BIML扩展不知道Output0Buffer和重写方法(它们将自动创建),因此无法编译

有办法解决这个鸡蛋问题吗?

我在博客上写过,

您需要将输出缓冲区的IsSynchronous属性指定为false。否则,它会将组件视为同步转换

<OutputBuffer Name="Output0" IsSynchronous="false">

很好,我评论我的代码

        <OutputBuffers>
            <!--    
            Define what your buffer is called and what it looks like
            Must set IsSynchronous as false. Otherwise it is a transformation
            (one row enters, one row leaves) and not a source.
            -->
            <OutputBuffer Name="DemoOutput" IsSynchronous="false">
                <Columns>
                    <Column Name="SourceColumn" DataType="String" Length="50" /> 
                </Columns>                    
            </OutputBuffer>                                 
        </OutputBuffers>


如果您将定义更改为
,这能解决问题吗?哇!您是否会创建您的评论作为答案?它正在与那个新成员一起工作。今天的英雄!;)
        <OutputBuffers>
            <!--    
            Define what your buffer is called and what it looks like
            Must set IsSynchronous as false. Otherwise it is a transformation
            (one row enters, one row leaves) and not a source.
            -->
            <OutputBuffer Name="DemoOutput" IsSynchronous="false">
                <Columns>
                    <Column Name="SourceColumn" DataType="String" Length="50" /> 
                </Columns>                    
            </OutputBuffer>                                 
        </OutputBuffers>