Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Invite a Colleague
Found this content useful? Share it with a Colleague!
Link copied. Please paste this link to share this article on your social media post.
I pool a data with DataAdapter.ValueItems.FirstOrDefault(x => x.AlternateId == "xxxx") and the value is not refresh when i update the value with interface
If I execute DataAdapter.CreateDatabaseContext(); before DataAdapter.ValueItems.FirstOrDefault(x => x.AlternateId == "xxxx") then the value result is updated.
Didn't I understand something?
Hi @2clode ,
It looks as though your processor code is long running, in that the DataAdapter is instantiated and then changes are made to your EWS server externally.
You did the right thing. If changes are made in the DataAdapter after it has been instantiated, you need to call the CreateDatabaseContext() to make sure you have the updated data in your DataAdapter.
Events & webinars
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.
Register today for FREE
Already have an account? Login