Export (0) Print
Expand All

IExecutionContext interface

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.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

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.

Caution noteCaution

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.

Community Additions

Show:
© 2014 Microsoft