Represents an execution context that is used to track and modify the behavior of operations against the external system, also allowing direct communication between a custom connector and the application.
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
'Declaration Public Interface IExecutionContext _ Inherits IDisposable 'Usage Dim instance As IExecutionContext
public interface IExecutionContext : IDisposable
The execution context is created by a metadata catalog and is associated with the thread it is created on. If a thread has an execution context, all operations against the external system will be tracked. This will cause an additional memory requirement for each operation. Therefore, execution context should not be used longer than it is necessary.
The execution context may hold onto other objects that are associated with open connections to the external system. To reclaim resources used by these objects, execution context must be disposed after use.