what is the code of writing operation code that return table object records ( ex: creating a function that return customer information ). this function will be consume from my application during web service.
[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,
}
this function will be consume from my project using c#