编写返回表对象记录的操作代码的代码是什么(例如:创建一个返回客户信息的函数)。此功能将在 Web 服务期间从我的应用程序中使用。
[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# 从我的项目中使用