Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicEdmModelCreation not working in V6 #65

Open
samualjacksonau opened this issue Aug 25, 2017 · 6 comments
Open

DynamicEdmModelCreation not working in V6 #65

samualjacksonau opened this issue Aug 25, 2017 · 6 comments

Comments

@samualjacksonau
Copy link

I wondering if anyone has sucessfully mananged to build & run DynamicEdmModelCreation project in V6/6.1 beta?

@oucfei
Copy link

oucfei commented Nov 17, 2017

Hi @samualjacksonau what issues/errors are you running into? I'm asking because we also have a dynamic edm model project and is planing to move to V6.

@mgernand
Copy link

mgernand commented Mar 6, 2018

Hi folks,

even if this issue is a little bit older: I just updated all dependencies of the DynamicEdmModelCreation sample to their latest versions and the following issues/errors occur.

Microsoft.OData.Core 7.4.1
Microsoft.AspNet.OData 6.1.0

  • HandleAllController:

    • The class PropertyAccessPathSegment does not exist anymore.
    • The class NavigationPathSegment does not exist anymore.
  • CustomODataPathRouteConstraint:

    • The class ODataPathRouteConstraint:
      • Only has a constructor that accept one parameter: the route name.
      • The property PathHandler does not exist anymore.
    • The class HttpRequestMessageProperties:
      • The property Model does not exist anymore.
      • The property PathHandler does not exist anymore.
      • The property RoutingConventions does not exist anymore.
    • The class ODataException moved to another namespace.
  • MatchAllRoutingConvention:

    • The class NavigationPathSegment does not exist anymore.
    • The class KeyValuePathSegment does not exist anymore.
    • The class EntitySetPathSegment does not exist anymore.

The rest is only changed or no longer existing namespaces.

Cheers, Matt

@mgernand
Copy link

mgernand commented Mar 8, 2018

Hi folks,

I just added a comment in another issue that also addresses this problem.

See: #50 (comment)

I'll take a look and hope to update the sample soon.

Cheers, Matt

@mgernand
Copy link

mgernand commented Mar 12, 2018

Hi folks,

I just added a pull request which fixes the dynamic model creation sample for v6. :-)

Pull Request: #67

Cheers, Matt

@piyushparate1
Copy link

piyushparate1 commented May 15, 2018

Hi Guys, :-)
It seems you all already worked much in EDM dynamics model.
I recently created one issue, just wanted to know, if anyone of you face this issue #70 , where child/asociate record not coming in result?

Thanks.

@acds
Copy link

acds commented Feb 26, 2020

All Seems this has been open for a while - I have managed to get the EDM Dynamic Model working with 7.3 in DotNetCore 3.1 based on this article, however I notice that the ServiceDocument (based on the /odata/ default route) does not work...not sure it ever did in 2.2 ?

Any hints or direction on resolving this would be great!

It seems updating the samples would be of great value to the community as a whole - as the basic use cases I real usage are probably more an exception than the rule, and this and the other samples provide a great starting point for real usage scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants