Ejemplo n.º 1
0
        private void SaveMatrix()
        {
            foreach (var part in MatrixParts)
            {
                var partMapInfo = this.MappingInfo[part.Uri.ToString()];
                var matrixDef   = this.MatrixDefinitions[partMapInfo.MatrixDefID];

                WfMatrix.ImportNewMatrixFromExcel2007(part.GetStream(), null, partMapInfo.ProcessDescriptionID, matrixDef);
            }
        }
Ejemplo n.º 2
0
        private static void SaveMatrix(WfProcessImporterContext context)
        {
            foreach (var part in context.MatrixParts)
            {
                WfPackageRelationMapping partMapInfo = context.MappingInfo[part.Uri.ToString()];
                WfMatrixDefinition       matrixDef   = context.MatrixDefinitions[partMapInfo.MatrixDefID];

                WfMatrix.ImportNewMatrixFromExcel2007(part.GetStream(), null, partMapInfo.ProcessDescriptionID, matrixDef);
            }
        }