-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add support for shadow property of IEnumerable<T> with custom conversion of T #15631
Comments
@filleellif I don't believe that this is currently possible (without significant hacking.) It's partially covered by #2919 and #4021, and maybe also #1985. |
Thank you @ajcvickers. |
We discussed this in triage. It's quite a complicated mapping with several unusual elements. For example, This is probably best thought of as an aggregate behavior (#1985) such that |
Thanks a lot for the response @ajcvickers! I figured it needed a lot of work to achieve this, and it's great to hear that you're considering it for the future. For now, I've made some workarounds that satisfy my needs but I will follow this for sure! |
Imagine the following:
I would like to have two tables:
Blog
andPost
. ThePost
table should simply have 4 columns (Id
,BlogId
,PostType
andJson
) - so I want to tell EF to serialize (and deserialize) allPost
s on theBlog
entity but put it in a seperate table.So far I have only been able to serialize the entire collection but I would like to serialize them individually.
Can this be achieved as of now or is it a missing feature?
The text was updated successfully, but these errors were encountered: