from
Set the {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#entitySet DataQuery.entitySet} property to identify this query's target entity set.
- Example using proxy classes:
open fun fromExample(): kotlin.Unit { val service = this.service; val customers = service.getCustomers(); L207@ for (customer in customers) { this.showCustomer(customer); } }
- Example using dynamic API:
open fun fromExample(): kotlin.Unit { val service = this.service; val customersEntitySet = service.getEntitySet("Customers"); val query = DataQuery().from(customersEntitySet); val customers = service.executeQuery(query).getEntityList(); L208@ for (customer in customers) { this.showCustomer(customer); } }
Return
This query.
Parameters
entity Set
The target entity set.