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

Rerun relationship discovery if target entity type has been readded #19550

Open
Tracked by #22952
AndriySvyryd opened this issue Jan 10, 2020 · 1 comment
Open
Tracked by #22952

Comments

@AndriySvyryd
Copy link
Member

modelBuilder
    .Entity<A>();

modelBuilder
    .Ignore<B>();

modelBuilder
    .Entity<B>();

Should find the relationship in:

public class A
{
    public int Id { get; set; }
    public B B { get; set; }
}

public class B
{
    public int Id { get; set; }
}
@AndriySvyryd
Copy link
Member Author

Related to #18388

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

2 participants