Accessing OData Metadata
I am writing C# scripts from which I'd like to access OData metadata for a connection (like how LinqPad exposes this in the left-hand try of entities & members.
Is this possible through a LinqPad API? If not, how does one parse the $metadata XML response to get this? I have found ODataMessageReader which can produce an IEdmModel from the XML but that IEdmModel only exposes entity names and not entity members/member types, etc.
Is this possible through a LinqPad API? If not, how does one parse the $metadata XML response to get this? I have found ODataMessageReader which can produce an IEdmModel from the XML but that IEdmModel only exposes entity names and not entity members/member types, etc.