什么的写操作代码,返回表对象记录代码(如:创建一个返回客户信息的功能)。这个函数将在Web服务期间从我的应用程序中消耗。AIF服务操作返回表对象
[SysEntryPointAttribute(true),
AifCollectionTypeAttribute('return', Types::String)]
public MyCustTable testMethod()
{
CustTable custTable;
List list = new List(Types::String);
MyCustTable temp;
while select * from custTable
{
temp.Name = custTable.name();
temp.AccountNum = custTable.AccountNum;
}
return temp;
//this is not working find, i wan to return some information related to customer like name, phone,
}
此功能会从我的项目中使用C#
你能否阐述一下你什么功能的输入参数可以有? 很可能该函数已经存在,请参阅'CustTable :: find'方法。 –
我创建了一个没有参数的函数。只是返回所有客户的记录。在我的应用程序中,我可以在我的web应用程序中显示返回数据。 –
显示您的代码。 –