OptionalAfterOptional post-save hook invoked inside the active transaction (both direct Save()'s
EntityTransactionScope and TransactionGroup.Submit()'s group transaction) after
finalizeSave has applied server-returned values and marked entity.IsSaved = true, and
before commit, so side-effect writes performed by the driver participate in the same atomic
transaction and throwing aborts and rolls back the transaction (restoring entity's pre-save
state).
OptionalBeforeOptional pre-save hook invoked inside the active save transaction after validation succeeds and
before ProviderToUse.Save() writes the row.
Return false or a non-empty error message string (or throw an Error) to abort and roll back
the save. Field mutations applied to entity here are included in the persisted write.
OptionalOnOptional synchronous hook invoked when a caller modifies a field value via Set() (or a
generated property setter) and the new value differs from the previous value. Not called during
record hydration (InnerLoad, LoadFromData, SetMany).
Marks any older pending (Outcome IS NULL) MJ: Field Suggestions rows on the same
(linkedEntityId, linkedRecordId, anchorKey) (and any IS-A family entity IDs sharing that
record PK) as 'Superseded' when a newer pending suggestion is created.
Optional validation hook invoked on Validate() (when the type row is already cached in memory)
and always awaited on Save() (loading the type row if needed).
Add ValidationErrorInfo entries to result.Errors and set result.Success = false to reject
the record.
Built-in server driver for
MJ: Comment Typescode'FIELD_SUGGESTION'.Responsibilities:
AnchorType === 'Field', validAnchorKey) on an entity that has opted into'FIELD_SUGGESTION'viaConfiguration.Comments.AllowedCommentTypes.Update, RLS, and FLS write permissions onOnAcceptandOnReject.SuggestedValueto the target record via a normaltargetRecord.Save()as the accepting user onOnAccept, producing a standardRecord Changesaudit entry.(LinkedEntityID, LinkedRecordID, AnchorKey)or when any save modifies the target field.