Print Page | Close Window

Deleting batch

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4276
Printed Date: 05-Jun-2025 at 2:47pm


Topic: Deleting batch
Posted By: katit
Subject: Deleting batch
Date Posted: 16-Aug-2013 at 12:11pm
Is there built-in methods to delete batch of records? I don't want to loop and set status to Deleted. I may need to delete 1000s of records and in SQL I can do it with plain DELETE .. WHERE ... statement.




Replies:
Posted By: sbelini
Date Posted: 16-Aug-2013 at 1:35pm
Katit,

Unfortunately, DevForce does not support batch operations. (as EF does not support them either)
I'd suggest calling a stored procedure, but you'd still have to refetch/detach the entities.



Print Page | Close Window