We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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; } }
Also rerun it if a type was marked as owned and previously the relationships were ambiguous:
protected class BaseOwner { public int Id { get; set; } public OwnedTypeInheritanceWithReference OwnedWithRef1 { get; set; } = null!; public OwnedTypeInheritanceWithReference OwnedWithRef2 { get; set; } = null!; } [Owned] protected class OwnedTypeInheritanceWithReference { public string? Value { get; set; } public int OwnerId { get; set; } public BaseOwner? Owner { get; set; } }
The text was updated successfully, but these errors were encountered:
Related to #18388
Sorry, something went wrong.
AndriySvyryd
No branches or pull requests
Should find the relationship in:
Also rerun it if a type was marked as owned and previously the relationships were ambiguous:
The text was updated successfully, but these errors were encountered: