Ejemplo n.º 1
0
        protected Uri FindByIdUri(TQ query, Config config)
        {
            Uri serviceRoot   = config.ServiceRoot;
            var entityUriPath = EntityUriPathRoot + "/" + query.Id + TypeSuffixJson;
            UriQueryParameters queryParams = GetDefaultQueryParams(config);

            return(UriEncoder.MakeUri(serviceRoot, entityUriPath, queryParams));
        }
Ejemplo n.º 2
0
        protected Uri FindEntitiesUri(TQ query, Config config)
        {
            Uri                serviceRoot = config.ServiceRoot;
            String             uriPath     = GetUriPath();
            UriQueryParameters queryParams = QueryParams(query, config);

            return(UriEncoder.MakeUri(serviceRoot, uriPath, queryParams));
        }