Skip to content

Abort or modify incoming value on BeforeUpdate? #78

@Trevortni

Description

@Trevortni

Is there any way, or can a way be added, to abort the update if a condition is not met, or to alter the incoming value before the update happens?

I am trying to implement a trigger for a RowVersion column, where I only allow the update to happen if the RowVersion on the new row matches the RowVersion on the old row, and to increment it if it is allowed, and I need this functionality in order for it to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions