New Posts New Posts RSS Feed: Deleting batch
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Deleting batch

 Post Reply Post Reply
Author
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Topic: Deleting batch
    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.

Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down