public void DeleteDevice(int id) { TableOperations <Device> deviceTable = DataContext.Table <Device>(); deviceTable.DeleteRecordWhere("ParentID = {0}", id); deviceTable.DeleteRecord(id); }
public void DeleteDevice(int id) { // TODO: Delete associated custom action adapters (generated by tag templates) TableOperations <Device> deviceTable = DataContext.Table <Device>(); deviceTable.DeleteRecordWhere("ParentID = {0}", id); deviceTable.DeleteRecord(id); }