SetValueStrategy Enum
.NET Standard 2.x
Specifies the timing for the SetValue attribute to set values.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public enum SetValueStrategy
Members
| Member Name | Description |
|---|---|
| Always | Sets the value for the specified property in the embedded model class when data is inserted or updated in the current model class. |
| AfterParentCreated | Sets the value for the specified property in the embedded model class when data is inserted in the current model class. |
| AfterParentUpdated | Sets the value for the specified property in the embedded model class when data is updated in the current model class. |