Hello
Im using this code to delete all the records, its posible made the delete without a form? or made the delete by definition
var read = domHelper.DomInstances.ReadAll();
foreach (var item in read)
{
domHelper.DomInstances.Delete(item);
}
Regards
Juan
Juan Falcon Selected answer as best
Hi Juan,
There's a solid documentation page that addresses Processing multiple DomInstances - examples | DataMiner Docs. Feel free to take a look. There's a specific section as well related to deletion.
// Retrieve the DomInstances that need to get deleted. var domInstances = domHelper.DomInstances.Read(filter); // Remove them from the DB. var deleteResult = domHelper.DomInstances.Delete(domInstances);
Kind Regards,
Jarno
Juan Falcon Selected answer as best
Thanks, i was looking but dint find it.