-
Notifications
You must be signed in to change notification settings - Fork 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
Sample for stored procedure mapping #4007
Conversation
No docs yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajcvickers I found some mapping issues here which explain most of the errors in #2487 - take a look below (but this also uncovered issues in my code!). We can iterate on this together tomorrow if you want.
}); | ||
|
||
entityTypeBuilder.DeleteUsingStoredProcedure( | ||
"Person_Delete", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This mapping - and many others - is missing a rows affected result column definition; the sproc definition does return a result set with it (OUTPUT 1
). This means that result sets in the batch can get misaligned as EF thinks this sproc doesn't return anything but it does.
@roji Pushed some updates. Updating data is still failing for TPH. Optimistic concurrency test 1 is still failing in all cases. |
Found two more bugs while investigating this:
I'll be back to full work on Tuesday (will be partially doing stuff on Monday too) and will concentrate on fixing all this (not feeling great about the work I've done here...) |
@ajcvickers just making sure that everything works for you and you're not blocked on me by anything. |
No docs yet.