C# Class OData4Soda.SodaToODataConverter

Mostra file Open project: OData/OData4Soda

Public Methods

Method Description
ConvertFeed ( Uri relativeODataUri, Uri relativeSodaUri, JsonPayload jsonPayload ) : void
ConvertMetadata ( Uri relativeODataUri, Uri relativeSodaUri, JsonPayload jsonPayload ) : void
SodaToODataConverter ( IODataResponseMessage message, Uri odataEndpointUri, Uri sodaEndpointUri ) : System

Private Methods

Method Description
BuildModel ( Newtonsoft.Json.Linq.JObject viewObject, IList &fieldsToIgnore ) : IEdmModel
ConvertDateTimeOffset ( long secondsSinceEpoch ) : DateTimeOffset
ConvertProperties ( Newtonsoft.Json.Linq.JObject entry, IEnumerable fieldsToIgnore ) : IEnumerable

Method Details

ConvertFeed() public method

public ConvertFeed ( Uri relativeODataUri, Uri relativeSodaUri, JsonPayload jsonPayload ) : void
relativeODataUri System.Uri
relativeSodaUri System.Uri
jsonPayload Socrata.JsonPayload
return void

ConvertMetadata() public method

public ConvertMetadata ( Uri relativeODataUri, Uri relativeSodaUri, JsonPayload jsonPayload ) : void
relativeODataUri System.Uri
relativeSodaUri System.Uri
jsonPayload Socrata.JsonPayload
return void

SodaToODataConverter() public method

public SodaToODataConverter ( IODataResponseMessage message, Uri odataEndpointUri, Uri sodaEndpointUri ) : System
message IODataResponseMessage
odataEndpointUri System.Uri
sodaEndpointUri System.Uri
return System