Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ E3D Design

Database access from addins

  • Last UpdatedNov 27, 2026
  • 1 minute read

Dabacon requires each thread that uses it to have its own thread context. CAF provides this automatically while it loads addins. Calls into Dabacon from different threads are serialized, so accessing the database from addin constructors removes the benefit of parallel loading.

Do database work in Start() (on the User Interface (UI) thread), or when the addin is first used, and keep the constructor trivial. For more information, see How to write a Common Application Framework Addin. If you must start work on another thread, post the database work to the UI thread with ApplicationFrameworkApplication.InvokeOnUIThread, which returns without waiting for the work to run.