public Task<string> GetMetadataAsync(CancellationToken cancel); // xml
public Task<string> GetMetadataAsync(ResponseFormat format, CancellationToken cancel); // json or xml
public Task<string> GetMetadataAsync(string path, CancellationToken cancel); // xml
public Task<string> GetMetadataAsync(string path, ResponseFormat format, CancellationToken cancel); // json or xml
or
public Task<string> GetMetadataAsync(CancellationToken cancel, string path = null, ResponseFormat? format = null );
This API is complete if the return value is a predefined schema object instead of a string (even a copy of Edmx on the server side).
Create an API that can access the global metadata according to the OData standard. Examples of the standard requests:
Possible examples for the new API:
or
This API is complete if the return value is a predefined schema object instead of a string (even a copy of Edmx on the server side).