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

Generic string based HasForeignKey #1172

Closed
rowanmiller opened this issue Nov 26, 2014 · 2 comments
Closed

Generic string based HasForeignKey #1172

rowanmiller opened this issue Nov 26, 2014 · 2 comments
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@rowanmiller
Copy link
Contributor

We should have an overload of HasForeignKey like:

HasForeignKey<TDependent>(string)

This allows you to identify the dependent in one-to-one relationships, but still specify a property that is in shadow state.

@rowanmiller rowanmiller added this to the 7.0.0 milestone Nov 26, 2014
@rowanmiller
Copy link
Contributor Author

Split out from #1124

@rowanmiller rowanmiller changed the title Generic string based FK APIs Generic string based HasForeignKey Dec 8, 2015
@rowanmiller rowanmiller removed the pri1 label Dec 8, 2015
@rowanmiller rowanmiller modified the milestones: Backlog, 7.0.0 Dec 8, 2015
@ajcvickers
Copy link
Contributor

Just did this for 1.1 😄

@ajcvickers ajcvickers modified the milestones: 1.1.0, Backlog Jul 8, 2016
@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 Jul 8, 2016
@ajcvickers ajcvickers modified the milestones: 1.1.0-preview1, 1.1.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-enhancement
Projects
None yet
Development

No branches or pull requests

3 participants