ObjectValidationOptions.IsInsert property
Gets or sets whether the object is being inserted, for the fields hidden on insert or update, which are not checked, or null when neither applies.
public bool? IsInsert { get; set; }
See Also
- class ObjectValidationOptions