…ents with additional information about the EDM type and entity set for the path Sample usage: ODataPathParser parser = new ODataPathParser(GetImplicitModel()); var path = parser.Parse(new Uri("http://localhost/Customers(10)"), new Uri("http://localhost/"));
explicit model builder Throwing a better exception when the user forgot to configure the navigation property link instead of a NRE.
Conventional mb. Forgot to include the source entity set name in the error message in earlier commit. Including it now.
Conventional mb. By design. Improving the error message being thrown to contain more information with this commit.
Currently build.cmd defines CODE_ANALYSIS when building, but Visual Studio does not. This discrepancy results in problems running build.cmd after building in Visual Studio, because an assembly built without CODE_ANALYSIS loses its SuppressMessage attributes. Note that the official build already defines this constant, so there's no behavioral difference in that case. This change only affects builds in VS, allowing subsequent FxCop runs to work correctly.
For areas of the product known to fail, use a "bug tracking" test instead of Skip. Rather than skipping tests, we simply assert that the bug hasn't yet been fixed. That way we: - remember to enable the test once the bug has been fixed - don't see build warnings in the interim
The only reason we needed to have TestHttpNamespace.bat is because some tests were taking calls for http://+:50231/ instead of http://localhost:50231/, and this behavior happened only when using HttpSelfHost. Configuring our tests not to take the broader URL space means they don't ever need admin-level access.
…lly validate the ODataQueryOptions as well
HttpRoute through the config.Routes.Add method, their GetRouteData method and GetVirtualPath are ignored. Now it will get invoked properly.
collections. Added support for deserializing collection properties into T, IEnumerable<T>, ICollection<T>, IList<T> and CustomCollection<T> if CustomCollection has a empty ctor and an Add method.
Fixed the bug where Facebook Object can bind to nothing but "friend" Updated the Facebook SDK reference to v6.1.1-beta (Verified that the mainline scenario still works: authorization, getting user data, friends's data and other facebook objects such as likes and books)
…tpContent.ReadAsHttpResponseMessageAsync do not detect the end of stream for incomplete HTTP messages. The fix involves checking for if the stream has been completely read and if HTTP message is not complete then throw an exception saying the the content is an incomplete HTTP request or response.
inheritance. 1) If the entity type of the entity set has a navigation property defined in a derived type, the self link's should include the appropriate cast segment. 2) A navigation link for a navigation property on a derived type should include the appropriate cast segment. 3) An action link should include the appropriate cast segment if the entity set type does not match the action's bound parameter type.
…es that are nested
…er registered in the formatter collection