View source for OCLOperators SuspectExternalUpdateInvalidate From MDrivenWiki ← OCLOperators SuspectExternalUpdateInvalidate OCLOperators SuspectExternalUpdateInvalidateYou do not have permission to edit this page, for the following reason: The action you have requested is limited to users in the group: Users. You can view and copy the source of this page. If you - for some reason - suspect that a third party has changed rows in the database, you can use [[selfVM]].SuspectExternalUpdateInvalidate(listOfObjectsYouSuspect). Doing so will notify the SyncServer (you have a sync server in MDrivenServer) that this row needs to be reread completely - by all clients that have this row cached. Clients will get this information when doing their next Refresh (available via selfVM.Refresh and as a Framework action). The SuspectExternalUpdateInvalidate operation can be made part of a bigger pattern to make MDriven play nice with others that write data. There is the [[SQL Server change tracking|Change Tracking]] functionality in the SQLServer. Change tracking makes it possible to ask for changed rows - combine this functionality (that can be called with [[OCLOperators sqlpassthroughobjects|SqlPassthrough]]) and get a system that finds changes by others and changes by triggers. [[Category:OCLOperators]] [[Category:OCL ViewModel Operators]] Return to OCLOperators SuspectExternalUpdateInvalidate. Retrieved from "https://wiki.mdriven.net/index.php/OCLOperators_SuspectExternalUpdateInvalidate"