ISqlModelMapper.TrackUpdate Method
.NET Standard 2.x
Tracks a database table update operation. The data that will be updated to the database table is cached in the TModel object.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Overloads
| Method | Description |
|---|---|
| TrackUpdate<TModel>(TModel model) | Tracks a database table update operation. The data that will be updated to the database table is cached in the TModel object. |
| TrackUpdate<TModel>(TModel model, Action<ISaveContext> afterSaveAction) | Tracks a database table update operation and an Action<ISaveContext> object. The data that will be updated to the database table is cached in the TModel object. |
| TrackUpdate<TModel>(TModel originalModel, TModel modifiedModel) | Tracks a database table update operation. The data that will be updated to the database table is cached in the modifiedModel and the original data is cached in the originalModel. |
| TrackUpdate<TModel>(TModel originalModel, TModel modifiedModel, Action<ISaveContext> afterSaveAction) | Tracks a database table update operation and an Action<ISaveContext> object. The data that will be updated to the database table is cached in the modifiedModel and the original data is cached in the originalModel. |