-
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
RevEng : Use unbounded navigations in scaffolded model #5154
Comments
A bit off-topic, but any thoughts on whether we should actually commit to the term "shadow navigation" in our ubiquitous language? In my mind things are shadow only if at runtime their original and current values are tracked in shadow state, e.g. shadow entities don't currently exist but they may exist in the future. However these navigation properties don't have their own state so to me they are just metadata-only navigation properties or unbound navigation properties. I am ok with embracing the term even if it doesn't feel completely accurate 😄 |
Updated title & issue. I did not think in that detail about the term "shadow" but not using it for navigations seems more reasonable. |
@smitpatel I wasn't really pushing back. I would just like to hear what people in the team think we should call them. |
@divega No reason why they couldn't have state in the future. Would be relatively easy to implement, although I'm not sure that the value would be high. I haven't looked at the code yet, but presumably they can already or will at some point be useable in query to do things like Include. |
Note: see #5146 for the fix that allowed navigation properties to point to entities which do not yet have a backing CLR type (which is what we have when constructing the |
Fix checked in with 767b3dd. |
Since updated navigation are supported in design time model now, RevEng should use them to have navigations in scaffolded model.
The text was updated successfully, but these errors were encountered: