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

Allow to configure a property as non-persisted only for sproc mapping #33676

Open
Tracked by #22953 ...
jacontre opened this issue May 3, 2024 · 1 comment
Open
Tracked by #22953 ...

Comments

@jacontre
Copy link

jacontre commented May 3, 2024

Is there a way to use InsertUsingStoredProcedure and UpdateUsingStoredProcedure with the same entity and configure it so that I can ignore a property on Update that is not used. Our example is using a CreatedDateTime and LastModifiedTime where both are used in the Insert procedure but then CreatedDateTime is not passed into the update procedure and we would like to ignore it for that case.

@AndriySvyryd
Copy link
Member

AndriySvyryd commented May 15, 2024

This depends on #14121
Related to #28436

@AndriySvyryd AndriySvyryd changed the title Ignore property in Model builder entity for Update procedure only Allow to configure a property as non-persisted only for sproc mapping May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants