什麼的寫操作代碼,返回表對象記錄代碼(如:創建一個返回客戶信息的功能)。這個函數將在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應用程序中顯示返回數據。 –
顯示您的代碼。 –