-
February 24th, 2010, 12:49 AM
#1
transaction batch
Dear Sir,
I have a project, which divided into three categories. i) Presentation layer, ii) business layer, and iii) DataExecution Layer.
business layer communicate between 1st and 3rd layer. here my problem is I want update some tables through transaction batch. here I am facing logical concept who to update transaction batch in business layer or dataexecution layer.
In this case if you provide any sample project or Source Code. It will be good for me.
Thanking You
Debasis Bag
-
February 25th, 2010, 08:17 AM
#2
Re: transaction batch
This partly depends on how you are updating the DB and your overall design for the business layer. I.E. if everything is being done in the data layer using Stored procs for example, then it makes sense to put the transaction level here. However, if the business layer is storing persistent data in objects, and these objects reflect the data held in store then you probably want to place some locking mechanism's here otherwise should anything fail you could end up with your business layer out of sync with the data layer.
If you find my answers helpful, dont forget to rate me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|