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

RevEng: Remove explicit generics from relationship calls #1932

Closed
rowanmiller opened this issue Mar 27, 2015 · 1 comment
Closed

RevEng: Remove explicit generics from relationship calls #1932

rowanmiller opened this issue Mar 27, 2015 · 1 comment
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-unknown
Milestone

Comments

@rowanmiller
Copy link
Contributor

We currently explicitly specify the generic argument for the first part of the relationship but this isn't needed since it is inferred from the navigation property (i.e. <Category> can be removed from the following example).

            modelBuilder.Entity<Product>(entity =>
                {
                    entity.Reference<Category>(d => d.Category).InverseCollection(p => p.Product);
                }
            );
@lajones
Copy link
Contributor

lajones commented Apr 29, 2015

Fixed with commit 1b07c35.

@lajones lajones closed this as completed Apr 29, 2015
@rowanmiller rowanmiller modified the milestones: 7.0.0, 7.0.0-beta6 Jul 15, 2015
@ajcvickers ajcvickers added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Oct 15, 2022
@ajcvickers ajcvickers modified the milestones: 1.0.0-beta6, 1.0.0 Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-unknown
Projects
None yet
Development

No branches or pull requests

3 participants