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

Fix the error when try the update record without selecting the target linkingset property in LinkingSetRelationBehavior #7135

Closed
wants to merge 1 commit into from

Conversation

VictorTomaili
Copy link
Member

The OnAfterSave method in LinkingSetRelationBehavior.cs now returns if the Target field has not been assigned, preventing potential errors when updating record without selecting the LinkingSetRelation data.

… linkingset property in LinkingSetRelationBehavior

The `OnAfterSave` method in `LinkingSetRelationBehavior.cs` now returns if the `Target` field has not been assigned, preventing potential errors when updating record without selecting the LinkingSetRelation data.
@volkanceylan
Copy link
Member

Error is caused by using a row returned from connection extensions which has TrackWithChecks true, closing.

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.

2 participants