Generate C# class(.cs) model files from .csdl files

266 Views Asked by At

I have a .csdl file downloaded and am trying to convert them to model class files (.cs). I tried edmgen which did not work because I was using "http://docs.oasis-open.org/odata/ns/edm" as the schema.

When i use edmgen with the command mentioned in comments I receive and error saying " the EDM Schema argument is not valid " and the EDM schema is "http://docs.oasis-open.org/odata/ns/edm" which I cannot change to other schemas.

What is the best way to do the conversion using the above schema?

0

There are 0 best solutions below