Axapta Members

The Axapta class provides the ability to connect to the Axapta system, create Axapta classes, create Axapta record, container, and buffer objects, execute transactions, and perform other Axapta system tasks.

The following tables list the members exposed by the Axapta type.

Public Constructors

  Name Description
Axapta The Axapta constructor creates an instance of the Axapta class.

Top

Public Properties

  Name Description
public property HttpContextAccessible The HttpContextAccessible property returns a value that indicates whether the HTTP context is accessible from the .NET Business Connector.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method CallJob Overloaded. The CallJob method calls the specified Axapta job.
public method CallStaticClassMethod Overloaded. The CallStaticClassMethod method calls a static member method of an Axapta class.
public method CallStaticRecordMethod Overloaded. The CallStaticRecordMethod method calls a static member method of an Axapta record.
public method CreateAxaptaBuffer The CreateAxaptaBuffer method creates an AxaptaBuffer object.
public method CreateAxaptaContainer The CreateAxaptaContainer method creates an AxaptaContainer object.
public method CreateAxaptaObject Overloaded. The CreateAxaptaObject method creates an AxaptaObject object.
public method CreateAxaptaRecord Overloaded. The CreateAxaptaRecord method creates an AxaptaRecord object.
public method Dispose The Dispose method releases the resources used by the Axapta object.
public method Equals  Overloaded. (Inherited from Object )
public method ExecuteStmt Overloaded. The ExecuteStmt method executes a statement on the specified AxaptaRecord object.
public method GetBufferCount The GetBufferCount method retrieves the number of AxaptaBuffer objects.
public method GetContainerCount The GetContainerCount method retrieves the number of AxaptaContainer objects.
public method GetHashCode  (Inherited from Object )
public method GetLoggedOnAxaptaObjectCount The GetLoggedOnAxaptaObjectCount method retrieves the number of users logged on to the Axapta system for the current instance of the Business Connector.
public method GetObject The GetObject method creates an AxaptaObject object and attaches it to a global Axapta object.
public method GetObjectCount The GetObjectCount method retrieves the number of AxaptaObject objects.
public method GetRecordCount The GetRecordCount method returns the number of AxaptaRecord objects.
public method GetType  (Inherited from Object )
public method Logoff The Logoff method disconnects from Axapta.
public method Logon The Logon method connects to the Axapta system.
public method LogonAs The LogonAs method connects to Microsoft Dynamics AX on behalf of a specific Microsoft Dynamics AX user.
public method LogonAsGuest The LogonAsGuest method connects to the Axapta system as the Axapta guest user.
public method static ReferenceEquals  (Inherited from Object )
public method Refresh The Refresh method clears the internal memory cache, including the cached database information. This method is intended only for development use, specifically to have the Axapta object reread the Axapta application code without requiring a logoff/logon sequence. As Refresh clears the internal cache, it is not recommended that this method be called every time a user logs on to a Web site. Calling Refresh would greatly decrease the performance time of the Web site.
public method Session The Session method returns the session ID.
public method ToString  (Inherited from Object )
public method TTSAbort The TTSAbort method calls the ttsabort function of the Axapta X++ language. Use TTSAbort to abort a transaction started by a previous call to TTSBegin.
public method TTSBegin The TTSBegin method calls the ttsbegin function of the Axapta X++ language. Use TTSBegin to start a transaction that can either be committed by TTSCommit or aborted by TTSAbort.
public method TTSCommit The TTSCommit method calls the ttscommit function of the Axapta X++ language. Use TTSCommit to commit a transaction previously started by TTSBegin.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

Axapta Class
Microsoft.Dynamics.BusinessConnectorNet Namespace