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

Query: The true many to many testing model #20519

Merged
merged 1 commit into from
Apr 3, 2020
Merged

Conversation

smitpatel
Copy link
Member

No description provided.

new EntityLeaf { Id = 18, Name = "Leaf 2", Number = 421, IsGreen = true },
new EntityLeaf { Id = 19, Name = "Leaf 3", Number = 1337, IsGreen = false },
new EntityLeaf { Id = 20, Name = "Leaf 4", Number = 1729, IsGreen = false },
new EntityLeaf { Id = 21, Name = "Leaf 1", Number = 42, IsGreen = true },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x are root
1x are branch
2x are leaf
Many of the M2Ms were between derived types but they still used root type even though that becomes invalid relationship.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I didn't set the offset so the leaves array index would be rolled from 0-3 rather than 15-19

@smitpatel smitpatel merged commit 85bbc14 into master Apr 3, 2020
@smitpatel smitpatel deleted the smit/M2MBegins branch April 3, 2020 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants