public ODataService()
 {
     _metadata = GetMetadataProvider(typeof(T));
     _query    = GetQueryProvider(_metadata);
     _updater  = GetUpdateProvider(_metadata, _query);
 }
 public ODataServiceUpdateProvider(IDataServiceMetadataProvider metadata, ODataServiceQueryProvider <T> query)
 {
     _metadata = metadata;
     _query    = query;
     _actions  = new List <Action>();
 }
 public ODataServiceUpdateProvider <T> GetUpdateProvider(ODataServiceMetadataProvider metadata, ODataServiceQueryProvider <T> query)
 {
     return(new ODataServiceUpdateProvider <T>(metadata, query));
 }