Language

DoInsert Method

The DoInsert method inserts the Axapta record into the database. Calling this method resembles calling the doInsert member method of a record in the Axapta X++ language. Calling DoInsert ensures that any Axapta X++ code written in the insert member method of the record is not executed. Calling Insert always executes the Axapta X++ code written in the insert member method of the record.

Namespace:  Microsoft.Dynamics.BusinessConnectorNet
Assembly:  Microsoft.Dynamics.BusinessConnectorNet (in Microsoft.Dynamics.BusinessConnectorNet.dll)

Syntax

'Declaration
Public Sub DoInsert
'Usage
Dim instance As AxaptaRecord

instance.DoInsert()
public void DoInsert()
public:
void DoInsert()

Exceptions

Exception Condition
BusinessConnectorException

An unexpected error has occurred with the Business Connector.

AxaptaRecordNotValidException

An attempt has been made to access an invalid record.

See Also

AxaptaRecord Class

Microsoft.Dynamics.BusinessConnectorNet Namespace

Insert