Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 13, 2012
  1. [OData] Add the ODataPathParser feature to parse OData URIs into segm…

    youssefm authored
    …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/"));
Commits on Nov 9, 2012
  1. @davidmatson
  2. @davidmatson
Commits on Nov 8, 2012
  1. @davidmatson

    Create separate CodeAnalysis configuration.

    davidmatson authored
    Remove SuppressMessage attributes from Release configuration.
    Also, cleanup project file settings/make consistent.
  2. Issue 552: NRE when defining navigation property in derived type by

    raghuramn authored
    explicit model builder
    Throwing a better exception when the user forgot to configure the
    navigation property link instead of a NRE.
Commits on Nov 7, 2012
  1. Issue 534: Error creating multiple entity sets for an entity type in

    raghuramn authored
    Conventional mb.
    Forgot to include the source entity set name in the error message in
    earlier commit. Including it now.
Commits on Nov 6, 2012
  1. Issue 534: Error creating multiple entity sets for an entity type in

    raghuramn authored
    Conventional mb.
    By design. Improving the error message being thrown to contain more
    information with this commit.
Commits on Nov 2, 2012
Commits on Oct 31, 2012
  1. @davidmatson

    Use one version of JSON library, not two.

    davidmatson authored
    Remove the need to download two different versions of the JSON library.
    Also, fix a discrepancy between JSON version in packages.config and csproj in OData.
  2. @davidmatson

    Make defined constants consistent between build.cmd and Visual Studio.

    davidmatson authored
    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.
  3. @davidmatson

    Convert skipped tests to bug tracking tests.

    davidmatson authored
    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
  4. @davidmatson

    Remove need for TestHttpNamespace.bat.

    davidmatson authored
    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.
Commits on Oct 30, 2012
  1. [OData] Refactor QueryableAttribute's ValidateQuery method to optiona…

    youssefm authored
    …lly validate the ODataQueryOptions as well
Commits on Oct 29, 2012
  1. Fix for adding custom httproute. Before this fix, if one add custom

    hongmeig authored
    HttpRoute through the config.Routes.Add method, their GetRouteData method
    and GetVirtualPath are ignored. Now it will get invoked properly.
Commits on Oct 24, 2012
  1. @davidmatson

    Coding conventions cleanup

    davidmatson authored
Commits on Oct 23, 2012
  1. @davidmatson
  2. @davidmatson
  3. Added support for deserializing collection properties into different

    raghuramn authored
    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.
  4. @HenrikFrystykNielsen

    Fixes an issue where HttpContent.ReadAsHttpRequestMessageAsync and Ht…

    HenrikFrystykNielsen authored
    …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.
  5. Including casts when necessary in generated links when the model has

    raghuramn authored
    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.
Commits on Oct 22, 2012
  1. [OData] Fix the ConventionModelBuilder to recognize properties of typ…

    youssefm authored
    …es that are nested
  2. [OData] Retrieving $metadata should work if there is an OData formatt…

    youssefm authored
    …er registered in the formatter collection
  3. @davidmatson
Commits on Oct 19, 2012
  1. [OData] Use non-nullable Edm types for action parameters of non-nulla…

    youssefm authored
    …ble CLR types
Commits on Oct 18, 2012
  1. updating to ODataLib Contrib

    raghuramn authored
Commits on Oct 17, 2012
  1. Addressing code review feedback for HttpError support in OData and En…

    youssefm authored
Commits on Oct 16, 2012
  1. Issue 459: [DataMember(IsRequired=true)] doesn't make property as req…

    raghuramn authored
    in ODataConventionModelBuilder
    1) Added support for IsRequired property on DataMember.
    2) Also, fixing the issue where the RequiredAttributeConvention overwrites
    the already existing user configuration.
    3) Also, fixing a similar issue where a navigation property added by user
    is overwritten by convention modelbuilder.
  2. [OData] Add new HttpRequestMessage.CreateODataErrorResponse method to…

    youssefm authored
    … respect IncludeErrorDetailPolicy for including or not the InnerError
Commits on Oct 15, 2012
  1. Issue 368: Consider supporting binding ODataQueryOptions in actions that

    raghuramn authored
    don't return IEumerable<T>
    Adding support for ODataQueryOptions<T>.One can now use
    ODataQueryOtpions<T> if they want to enable query support and their
    return type is not IQueryable<T> or IEnumerable<T>. See
    QueryCompositionCustomerLowLevel_ODataQueryOptionsOfTController for an
  2. @davidmatson
Commits on Oct 13, 2012
  1. cleanup disabled odata tests.

    raghuramn authored
    1) removing tests that are not relevant
    2) enabling tests that are relevant and can run.
Something went wrong with that request. Please try again.