dotConnect for Adobe Commerce Documentation
In This Topic
    Updating Data
    In This Topic

    You can update the Adobe Commerce data either by modifying data returned by the MagentoDataAdapter class and then calling its Update method or by performing corresponding DML statements (INSERT, DELETE, UPDATE) via MagentoCommand.

    Here is an example showing how to update Adobe Commerce data using MagentoDataAdapter.

    using Devart.Data.Magento;
    ...
    class Program
    {
    
    
    }
    
    
    Imports Devart.Data.Magento
    ...
    Module Module1
    
    
    End Module
    
    

    The following example updates Adobe Commerce data using MagentoCommand.

    using Devart.Data.Magento;
    ...
    class Program
    {
    
    }
    
    
    Imports Devart.Data.Magento
    ...
    Module Module1
    
    
    End Module
    
    

    See Also

    Entity Framework  | Retrieving Data