Skip to content

Triggering Delete Event

To trigger an event, delete an Order object from the Backendless database. This can be done with any Backendless SDK (Android, iOS, JS, .NET), REST API or Backendless Console:

var orderObject = // retrieve an existing object from the database;

// now delete the object
Backendless.Data.Of( "Order" ).RemoveAsync( orderObject );
Order class:
namespace TestApplication
{
 public class Order
 {
   public string ObjectId{ get; set; }
   public string OrderName{ get; set; }
   public double OrderAmount{ get; set; }
 }
}
Updating an instance of Order and saving it in the database:
var order = // retrieve an order from the database

// delete the object in the database
Backendless.Data.Of<Order>().RemoveAsync( order );