Skip to content

ValidateParentBehavior class

namespace: Serenity.Services   assemblySerenity.Net.Services

Validation behavior for rows that have a parent record via IParentIdRow interface.

public class ValidateParentBehavior : BaseSaveBehavior
parameter description
rowTypeRegistry Row type registry
localizer Text localizer

Public Members

name description
ValidateParentBehavior(…) Validation behavior for rows that have a parent record via IParentIdRow interface.
override OnValidateRequest(…)

Exceptions

exception condition
ArgumentNullException rowTypeRegistry or localizer is null.

Remarks

Initializes a new instance of the class.

See Also