Skip to content

RevEng : Use unbounded navigations in scaffolded model #5154

Closed

Description

@smitpatel

Since updated navigation are supported in design time model now, RevEng should use them to have navigations in scaffolded model.

Activity

  1. divega commented on Apr 22, 2016

    @divega
    Contributor

    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 😄

  2. changed the title [-]RevEng : Use shadow navigations in scaffolded model[/-] [+]RevEng : Use unbounded navigations in scaffolded model[/+] on Apr 22, 2016
  3. smitpatel commented on Apr 22, 2016

    @smitpatel
    ContributorAuthor

    Updated title & issue. I did not think in that detail about the term "shadow" but not using it for navigations seems more reasonable.

  4. divega commented on Apr 23, 2016

    @divega
    Contributor

    @smitpatel I wasn't really pushing back. I would just like to hear what people in the team think we should call them.

  5. ajcvickers commented on Apr 25, 2016

    @ajcvickers
    Contributor

    @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.

  6. added this to the 1.0.0 milestone on Apr 26, 2016
  7. lajones commented on Apr 26, 2016

    @lajones
    Contributor

    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).

  8. lajones commented on May 23, 2016

    @lajones
    Contributor

    Fix checked in with 767b3dd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions