I would like to expose the contents of the InventLocation from a data entity. I searched through the AOT, all i could get is InventWarehouseEntity, but it has no Public Collection property and the IsPublic = No
How do i go about this?
It seems that your title is misleading. You already have the data entity, it just doesn't support OData. Is that correct?
If so, you can duplicate the entity, review that all the logic will work with OData and enable the entity for OData. Or create a request for Microsoft extend the entity.
i tried to duplicate the entity but i couldn't sync my db. i got a bucket-load of errors.
I guess I will just have to create a request to Microsoft.
Well, I didn't mean that you don't have to update the copy (such as changing all references to the name of the entity). I even explicitly stated that you must review all logic. It's a development, you just don't start from scratch.
If you don't want to do it, your only option is indeed asking somebody else.
Thanks for your inputs Martin! I got the solution, all i had to do was create a custom data entity and added the InventLocation table as the underlying data source.