You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RevEng : Use unbounded navigations in scaffolded model #5154
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 😄
changed the title [-]RevEng : Use shadow navigations in scaffolded model[/-][+]RevEng : Use unbounded navigations in scaffolded model[/+]on Apr 22, 2016
@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 IModel during RevEng).
Activity
divega commentedon Apr 22, 2016
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 😄
[-]RevEng : Use shadow navigations in scaffolded model[/-][+]RevEng : Use unbounded navigations in scaffolded model[/+]smitpatel commentedon Apr 22, 2016
Updated title & issue. I did not think in that detail about the term "shadow" but not using it for navigations seems more reasonable.
divega commentedon Apr 23, 2016
@smitpatel I wasn't really pushing back. I would just like to hear what people in the team think we should call them.
ajcvickers commentedon Apr 25, 2016
@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.
lajones commentedon Apr 26, 2016
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
IModelduring RevEng).lajones commentedon May 23, 2016
Fix checked in with 767b3dd.