hi,
What's the difference between DB-Direct and batch update pattern in desiging DAL?
TY
DB-Direct and batch update patterns in designing DAL?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Roei BarRank #1,271 · 1.4K reputationPosted Oct 14, 2009, 12:46 PM EDT
Batch Update is for Multiple Records and heavy commands
while db direct is for a single command that wont overload the db too much on that single command
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 15, 2009, 12:07 AM EDT
In DB Directs the single record updated Immediately as you press Update Button :)
in Batch Update
First we have to find Which Rows have been Modified then Apply Changes in Database for those modified Rows at once :)
you can use RowState propertie of row to check if its modified or not :)