How to delete data from MS SQL Server using Delete from Data Store Entities Smart Service ?

What are the steps/best practice to delete data from external DB table using Delete from Data Store Entities Smart Service ?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to PhilB
    Fair point , as you must be very careful with the 'power' that comes from cascade delete.

    When I have a lot of related tables to delete from, I like to create a stored procedure to do so. That way I can control order, querying for keys, rollbacks, any logging, etc., but maybe that is because I am comfortable working in the DB, as cascade delete is not set on many of my tables.
Children