-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ForeignKeyAttribute can't be overriden with explicit configuration #5695
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
The error for model building part, |
the whole stacktrace is this:
|
AndriySvyryd
added a commit
that referenced
this issue
Jul 14, 2016
AndriySvyryd
added a commit
that referenced
this issue
Jul 14, 2016
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-bug
my model (Steps to reproduce)
I have a model with an optional one-to-one relationship like this
The issue
So when the EF gets initialized and the OnModelCreating method runs, I get this error
If i comment the fluent api code, and then try to include one model from the other like this
Context.SessionSubjects.Include(x => x.Decision).FirstOrDefault();
I get this error
Further technical details
EF Core version: 1.0.0-rc2-final
Operating system: win10
Visual Studio version: 2015
The text was updated successfully, but these errors were encountered: