Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visualizing OData/REST metadata into a UML/Database Diagram

I have access to a particular OData service (and metadata), but not the code behind building that service. I'm using REST Clients like Postman to test the service and view its metadata. However, the service is quite large and I am having trouble trying to figure out how all the different entities relate to each other. Visualizing the EDMX metadata into a sort of UML Class (database) Diagram would be extremely helpful in this case.

Being able to visualize all the different entities, keys, and relationships in a large service would be very helpful in both debugging that service and developing front-end code against it.

In my "non-data service" development, I use the Entity Framework within Visual Studio, which displays the EDMX file as a UML Diagram. I tried manually plugging in the metadata from the service into a Visual Studio EDMX file but to no avail: The Entity Model Designer is unable to display the file you requested

Is there a way to translate EDMX metadata in UML schema or entities relations schema ?

like image 839
K. Peters Avatar asked Nov 14 '17 18:11

K. Peters


Video Answer


1 Answers

The EDMX format that you receive from the $metadata endpoint of an OData service is NOT compatible with the EDMX format that is used by Visual Studio's Entity Framework. That is why you cannot open it in EDM Designer of VS.

The only tools I found so far that claim to visualize OData metadata are SparxSystems' Enterprise Architect and an online tool called XOData (which seems to be at least partially broken).

like image 72
Jpsy Avatar answered Nov 15 '22 10:11

Jpsy