question

nachoshaw-9496 avatar image
0 Votes"
nachoshaw-9496 asked XingyuZhao-MSFT edited

Properties - Minimizing updates

Hi

in my class i have approx 400 properties that i set / get. Currently as i do my dataset update of property values, i get every property value and send it to the dataset but this is timely. Is there a way to update only those properties that have been updated so that unaffected properties are ignored? I could add a flag for each but before i do that, i wondered if there was anything i could utilise as a function


Thanks

dotnet-standard
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you share some code?

0 Votes 0 ·

Hi @nachoshaw-9496 ,

Is there a way to update only those properties that have been updated

You may need to raise an event to update the property whenever a property's value changed:
Check: Raise an event whenever a property's value changed?
If you need further assistance, please provide some related code here. It will help us make a test.

0 Votes 0 ·

0 Answers