示例#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));
        }
示例#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));
        }