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

Support extension method as Navigation property #1528

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

genusP
Copy link
Contributor

@genusP genusP commented Jul 10, 2018

Issues

Some ORMs (e.g. linq2db) support define navigation properties as extension method.
This PR add functional to model builder and also update binders for support this.

Checklist (Uncheck if it is not completed)

  • Test cases added
  • Build and test with one-click build and test script passed

Additional work necessary

If documentation update is needed, please add "Docs Needed" label to the issue and provide details about the required document change in the issue.

@xuzhg
Copy link
Member

xuzhg commented Jul 16, 2018

using Microsoft.AspNet.OData.Common;

  1. Would you please add the copy right head.
  2. Would you please sort the using.

Refers to: src/Microsoft.AspNet.OData.Shared/Builder/PropertyDescriptor.cs:1 in f87be69. [](commit_id = f87be69, deletion_comment = False)

@genusP
Copy link
Contributor Author

genusP commented Jul 16, 2018

I fix it in commit genusP@da30e83

Why this commit not showing in PR

@xuzhg
Copy link
Member

xuzhg commented Jul 17, 2018

namespace AspNetCoreODataSample.Web.Controllers

clean the codes


Refers to: samples/AspNetCoreODataSample.Web/Controllers/DataConnection.cs:1 in da30e83. [](commit_id = da30e83, deletion_comment = False)

@genusP genusP force-pushed the nav_prop_as_extension_method branch 3 times, most recently from 8fb28db to b347a48 Compare July 17, 2018 05:19
@genusP genusP force-pushed the nav_prop_as_extension_method branch from b347a48 to 674d25f Compare July 17, 2018 05:30
@genusP
Copy link
Contributor Author

genusP commented Jul 17, 2018

Unnecessary files deleted (commit genusP/WebApi@da30e83 replaced)
Fix doc comments
Fix code analysis errors

@genusP
Copy link
Contributor Author

genusP commented Aug 9, 2018

I hope, you add this feature

@genusP
Copy link
Contributor Author

genusP commented Aug 15, 2018

@xuzhg, Any questions by this PR?

genusP and others added 3 commits September 4, 2018 08:13
…as_extension_method

# Conflicts:
#	src/Microsoft.AspNet.OData.Shared/Formatter/EdmLibHelpers.cs
#	src/Microsoft.AspNet.OData.Shared/Microsoft.AspNet.OData.Shared.projitems
@genusP
Copy link
Contributor Author

genusP commented Jul 8, 2019

@mikepizzo, please review this PR.

@genusP
Copy link
Contributor Author

genusP commented Jul 16, 2019

@KanishManuja-MS Please, give me information about CI errors.

@KanishManuja-MS
Copy link
Contributor

image
image

@genusP
Copy link
Contributor Author

genusP commented Jul 17, 2019

@KanishManuja-MS Please, give me information about CI errors.

@KanishManuja-MS
Copy link
Contributor

@genusP Style issues -
image

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

Successfully merging this pull request may close these issues.

3 participants