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

Consider allowing a collection schema within a collection #9

Open
kzu opened this issue Aug 29, 2013 · 0 comments
Open

Consider allowing a collection schema within a collection #9

kzu opened this issue Aug 29, 2013 · 0 comments
Labels

Comments

@kzu
Copy link
Contributor

kzu commented Aug 29, 2013

This was allowed in NuPattern, but for code-first it could only be represented as IEnumerable<IEnumerable>. It's a pretty rare occurrence in actual modeling, and we're back to the idea that collections of things are most typically grouped within parent elements so that they can be easily grouped/collapsed.

The same effect as this could be achieved by having an IEnumerable, where each ISomethings has a property of IEnumerable. And we make the property node visibility as Content (so that the property itself doesn't show up). This would give you the same rendering as the above model, but it would be (code and modeling wise) much more common and intuitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant