Skip to content

Conversation

@fretje
Copy link
Contributor

@fretje fretje commented Dec 11, 2023

This includes a test for issue #1337

And possible part of a fix, but I stumbled upon another roadblock.

With the current fix, I was able to get the foreign keys of the Email entities filled properly with their respective custId, and even inserted/merged into the database, but then an exception is thrown when trying to read the output from that operation, as DbContext.Set<Email>().FromSqlRaw() is used for that, and DbContext.Set<TEntity> isn't supported for owned types.

Not sure how to tackle this... but I thought I'd throw this out there already in case someone else has ideas?

@borisdj
Copy link
Owner

borisdj commented Dec 12, 2023

Thx for contrib, don't have a solution out of the head, but will look into it.
If you manage to figure out a fix sooner, update the PR.

@borisdj
Copy link
Owner

borisdj commented Oct 24, 2025

@fretje Will add this now into the man branch, I will copy the code since PR has confilicts, or if you want to make new clean PR.

@borisdj borisdj closed this Oct 24, 2025
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