Hi All,
I do understancd that List method returns multiple records and Read returns only a single record in the context of a Sql Smart Object.
THis is what I did.
I have an Employee table where emp_id is the PK.
I created a SMO on this table through K2 designer.
Now , instead of using the default Smart Box methods, I went ahead and created an advanced SMO.
In the process of creating the advanced SMO, I created a Read method which returns only sinbgle record by taking in emp_id as input param.
I also added a List method but what I do not understand is , I want to pass only one param as input to the LIST method (say Emp_name) and get all the records as well as all columns (ex: Id , Name , Salary , Role etc.,) corresponding to the passed value of Emp_name.
But LIST method it seems does not allow a single input param.
Is this the dfault behaviour of List Method ?
Else , How do I pass only employee name ?
Attached are screenshots
Please advise.
Thanks,
Satya