hi,
What's the difference between DB-Direct and batch update pattern in desiging DAL?
TY
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Oct 15, 2009, 4:07 AM
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 :)
Roei BarPosted Oct 14, 2009, 4:46 PM
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