bind
Bind a resource as the binding parameter of a bound action/function.
If This query.resource is a {@link com.sap.cloud.mobile.kotlin.odata.DataPath}, then sets {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#resourcePath DataQuery.resourcePath}.{@link com.sap.cloud.mobile.kotlin.odata.ResourcePath#dataPath ResourcePath.dataPath}.
If resource is an {@link com.sap.cloud.mobile.kotlin.odata.EntitySet}, then calls {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#from(com.sap.cloud.mobile.kotlin.odata.EntitySet) DataQuery.from} to set {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#resourcePath DataQuery.resourcePath}.{@link com.sap.cloud.mobile.kotlin.odata.ResourcePath#entitySet ResourcePath.entitySet}.
If resource is an {@link com.sap.cloud.mobile.kotlin.odata.EntityValue}, then calls {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#load(com.sap.cloud.mobile.kotlin.odata.EntityValue, com.sap.cloud.mobile.kotlin.odata.PropertyPath?) DataQuery.load} to set {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#resourcePath DataQuery.resourcePath}.{@link com.sap.cloud.mobile.kotlin.odata.ResourcePath#entitySet ResourcePath.entitySet} and {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#resourcePath DataQuery.resourcePath}.{@link com.sap.cloud.mobile.kotlin.odata.ResourcePath#entityKey ResourcePath.entityKey}.
Return
Parameters
The resource to be bound.