DataServiceClientFormat Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tracks the user-preferred format which the client should use when making requests.
public sealed class DataServiceClientFormat
type DataServiceClientFormat = class
Public NotInheritable Class DataServiceClientFormat
- Inheritance
-
DataServiceClientFormat
Properties
LoadServiceModel |
Invoked when using the parameterless UseJson method in order to get the service model. |
ODataFormat |
Gets the current format. Defaults to Atom if nothing else has been specified. |
Methods
UseJson() |
Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model. |
UseJson(IEdmModel) |
Indicates that the client should use the efficient JSON format. |