Somehow the file attachment did not work. Here’s the C-sharp file:
#region * * * P L E A S E D O N O T M O D I F Y * * *
/***************************************************************************
** Module name : Test.cs
** Description : Client Stub File for .NET (8.1.2.0)
**
** * * * P L E A S E D O N O T M O D I F Y * * *
**
** Author : Generated by Software AG EntireX IDL Compiler
** Template : csharp_client.tpl for C#
** Platform : .NET-able Platforms
** Usage :
#region AssemblyInfo
#if USE_ASSEMBLY_INFO
using System.Reflection ;
[assembly: AssemblyTitle(“EntireX .NET Wrapper Client”)]
[assembly: AssemblyDescription(“EntireX .NET Wrapper Client”)]
[assembly: AssemblyConfiguration(“”)]
[assembly: AssemblyCompany(“Software AG”)]
[assembly: AssemblyProduct(“EntireX Communicator”)]
[assembly: AssemblyCopyright(“”)]
[assembly: AssemblyTrademark(“”)]
[assembly: AssemblyCulture(“”)]
[assembly: AssemblyVersion(“1.0.*”)]
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile(“”)]
[assembly: AssemblyKeyName(“”)]
#endif
#endregion
namespace SoftwareAG.EntireX.NETWrapper.Generated.Test.Groups
{
#region Groups for LIBRARY ‘Test’, PROGRAM ‘Test’
public class Test
{
public class OtData
{
[SendAs(IdlType.N, preDecimal=10, postDecimal=0, Id=0)]public decimal otCaseNumber;
[SendAs(IdlType.N, preDecimal=2, postDecimal=0, Id=1)]public decimal otCaseType;
}
}
#endregion
}
namespace SoftwareAG.EntireX.NETWrapper.Generated.Test
{
[EntireXVersion(“8.1.2.0”)]
[Library(“Test”)]
[Broker(“localhost:1971”)]
[Service(“RPC/SRV1/CALLNAT”)]
public class ClassTest : ServiceHolder
{
#region Constructor(s) etc for LIBRARY ‘Test’
public ClassTest() : base() {}
public ClassTest(Broker broker) : base ( broker ) {}
public ClassTest(Service service) : base ( service ) {}
#endregion
#region Method/Function for LIBRARY ‘Test’ PROGRAM ‘Test’
[Program("Test")]
public void Test(
[SendAs(IdlType.N, preDecimal=3, postDecimal=0)][In, Out] ref decimal otRecordCnt,
[SendAs(IdlType.N, preDecimal=4, postDecimal=0)][In, Out] ref decimal otReturnCode,
[SendAs(IdlType.A, Length=80f, Trim=true)][In, Out] ref StringBuilder otStatusMsg,
[SendAs(IdlType.Group, Dim=0f, Unbounded = true, Dimensions = 1)][In, Out] ref SoftwareAG.EntireX.NETWrapper.Generated.Test.Groups.Test.OtData[] otData
){
ArrayHolder otDataHolder = new ArrayHolder ( otData ) ;
service.Send(
this.GetType().GetMethod("Test"),
new Ref(ref otRecordCnt),
new Ref(ref otReturnCode),
otStatusMsg,
otDataHolder
);
otData = (Groups.Test.OtData[]) otDataHolder.array ;
}
#endregion
}
}