This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Customer | |
{ | |
public string FirstName { get; set; } | |
public string LastName { get; set; } | |
public Address Address { get; } = new Address(); | |
public List<PaymentMethod> PaymentMethods { get; } = new List<PaymentMethod>(); | |
} | |
public class Address | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Create a folder "ExceptionList" in the LocalEnvironment tree. This Folder will hold the BLOB representation of the ExceptionList | |
SET OutputLocalEnvironment.Variables.BitStream.Info = 'exceptionList'; | |
-- Define a XML parser element to be used to serialize the ExceptionList into bitstream | |
CREATE LASTCHILD OF OutputLocalEnvironment.Variables.BitStream DOMAIN('XMLNSC') NAME 'XMLNSC'; | |
-- Attach or create the tree that has to be serialized under the XML parser element. here it is the ExceptionList | |
SET OutputLocalEnvironment.Variables.BitStream.XMLNSC.ExceptionList = InputExceptionList; | |
-- Create the BLOB representation of the ExceptinList using the function ASBITSTREAM | |
SET OutputLocalEnvironment.Variables.BitStream.BLOB = | |
ASBITSTREAM(OutputLocalEnvironment.Variables.BitStream.XMLNSC.ExceptionList OPTIONS FolderBitStream); |