Ejemplo n.º 1
0
        internal static Custom810 CreateSampleCustom810()
        {
            // Create a sample instance of a custom type
            // This will be your message(s) that have to be converted into EDI
            const string sampleEdi = "EdiFabric.Sdk.ObjectToEdi.ConsoleApplication.TestFiles.CustomX12.xml";
            var          xEl       = XElement.Load(Assembly.GetExecutingAssembly().GetManifestResourceStream(sampleEdi));

            return(XslHelper.Deserialize <Custom810>(xEl, "customx12"));
        }