/// <summary> /// Transform a message using the specified map class with the specified level of source schema validation and with property promotion on the target message /// </summary> public void TransformMessageWithPromotion(string mapClassName, string mapAssemblyName, TransformationSourceSchemaValidation validation) { SetContextPropertyPipelineInstruction noDebatchInstruction = new SetContextPropertyPipelineInstruction(BizTalkXMLNORMPropertySchemaEnum.PromotePropertiesOnly.ToString(), ContextPropertyNamespaces._XMLNormPropertyNamespace, true, ContextInstructionTypeEnum.Write); base.AddInstruction(noDebatchInstruction); TransformationInstruction instruction = new TransformationInstruction(mapClassName, mapAssemblyName, validation, CallToken); base.AddInstruction(instruction); ApplyXmlDisassemblerInstruction promotionInstruction = new ApplyXmlDisassemblerInstruction(); base.AddInstruction(promotionInstruction); }
/// <summary> /// Transform a message using the specified map class with the specified level of source schema validation /// </summary> public void TransformMessage(string mapClassName, string mapAssemblyName, TransformationSourceSchemaValidation validation) { TransformationInstruction instruction = new TransformationInstruction(mapClassName, mapAssemblyName, validation, CallToken); base.AddInstruction(instruction); }