DWNet update just
- How-to
- Giuseppe moglia
- SnapDevelop
- Sunday, 14 February 2021 09:29 AM UTC
Hi Guys
I have a dw of 4 columns (The Key is A,B)
I imported it into my snap developer project and I Scaffolded it creating service and controller
The model is this (for instance)
{
A: "",
B: "",
C: "",
D: ""
}
Now My CRUD API are created but I f I just want to update 2 columns of my dw
Now I call the create passing a complete Json:
{
A: "a",
B: "b",
C: "c",
D: "d"
}
If I call a Read the result is:
{
A: "a",
B: "b",
C: "c",
D: "d"
}
Now I just want to update properties A and B, my customer pass me just this on my WEB API:
{
A: "a",
B: "b",
C: "cc"
}
Is there a smart way to just update column C without set column D to null?
Or customer has to pass me the json containg all columns?
Thanks
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.