Esempio n. 1
0
        /// <summary>
        /// Copy file data between transform substorages and the patch output object
        /// </summary>
        /// <param name="output">The output to bind.</param>
        /// <param name="allFileRows">True if copying from transform to patch, false the other way.</param>
        private void CopyToTransformData(Output output)
        {
            var command = new CopyTransformDataCommand();

            command.CopyOutFileRows  = false;
            command.Output           = output;
            command.TableDefinitions = this.TableDefinitions;
            command.Execute();
        }
Esempio n. 2
0
        /// <summary>
        /// Copy file data between transform substorages and the patch output object
        /// </summary>
        /// <param name="output">The output to bind.</param>
        /// <param name="allFileRows">True if copying from transform to patch, false the other way.</param>
        private IEnumerable <FileFacade> CopyFromTransformData(Output output)
        {
            var command = new CopyTransformDataCommand();

            command.CopyOutFileRows  = true;
            command.Output           = output;
            command.TableDefinitions = this.TableDefinitions;
            command.Execute();

            return(command.FileFacades);
        }