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

The naming convention of custom foreign keys and shadow attributes conflicts. Types that can be null cannot be null during migration #29298

Closed
zhuangState opened this issue Oct 8, 2022 · 5 comments

Comments

@zhuangState
Copy link

The naming convention of custom foreign keys and shadow attributes conflicts. Types that can be null cannot be null during migration
Nullable AccountID
image

Migration result cannot be empty
image

If you do not use the name AccountID, this problem will not be caused

@zhuangState
Copy link
Author

It is normal without specifying a foreign key

image
image

@ErikEJ
Copy link
Contributor

ErikEJ commented Oct 8, 2022

Which EF Core version and provider?

@zhuangState
Copy link
Author

Hello, version 6.0.9

@ajcvickers
Copy link
Contributor

This issue is lacking enough information for us to be able to fully understand what is happening. Please attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing so that we can investigate.

@ajcvickers
Copy link
Contributor

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.

BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants