You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If has "paintedResources" the process is effectively a create (again) bearing in mind:
Batch history should be maintained
CanvasPainting rows in DB should reflect what we've just received.
Not sure how best to do (2) - something like the following might work, assuming PK values can easily be used to inform create/update/delete commands:
// get manifest with CanvasPaintingsvarmanifest=dbContext.Manifests.Include(m =>m.CanvasPaintings).Single(m =>m.Id=manifestId);// replace CanvasPaintingsmanifest.CanvasPaintings=theCanvasPaintingsFromPayload;// let EF change tracking figure it outdbContext.SaveChanges();
The text was updated successfully, but these errors were encountered:
If manifest has
"items"
- as-isIf has
"paintedResources"
the process is effectively a create (again) bearing in mind:Batch
history should be maintainedCanvasPainting
rows in DB should reflect what we've just received.Not sure how best to do (2) - something like the following might work, assuming PK values can easily be used to inform create/update/delete commands:
The text was updated successfully, but these errors were encountered: