dotConnect for Adobe Commerce Documentation
Devart.Data.Magento Namespace / MagentoCommandBuilder Class / MagentoCommandBuilder Constructor / MagentoCommandBuilder Constructor(MagentoDataAdapter)

In This Topic
    MagentoCommandBuilder Constructor(MagentoDataAdapter)
    In This Topic
    Initializes a new instance of the MagentoCommandBuilder class with the associated MagentoDataAdapter object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal adapter As MagentoDataAdapter _
    )
    public MagentoCommandBuilder( 
       MagentoDataAdapter adapter
    )

    Parameters

    adapter
    Remarks
    The MagentoCommandBuilder registers itself as a listener for MagentoDataAdapter.RowUpdating events that are generated by the MagentoDataAdapter specified in this property.

    When you create a new instance of MagentoCommandBuilder, any existing MagentoCommandBuilder associated with this MagentoDataAdapter is released.

    See Also