SaveStrategy Enum
.NET Standard 2.x
Defines the optional strategies for the property to save data to the database.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public enum SaveStrategy
Members
| Member name | Description |
|---|---|
| Save | (Default) Saves data to the database when data is inserted or updated. |
| SaveOnCreate | Saves data to the database only when data is inserted. |
| SaveOnUpdate | Saves data to the database only when data is updated. |
| ReadAfterSave | Does not save data, but only reads data from the database. |
| Ignore | Not to save data to the database. |