p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Handle Transactions from Business Logic Layer (http://p2p.wrox.com/showthread.php?t=64095)

sonishpaul November 27th, 2007 07:00 AM

Handle Transactions from Business Logic Layer
 
I am doing a web site based on the layered architecture. I have the UI Layer, Business Logic Layer, Data Access Layer and the Database Layer.I am using ASP.Net 2.0 and SQL Server 2000.

Please give me a good method for Transaction Management from my Business Logic Layer. BLL communicates with DAL only and not directly with any Database.


Sony

aliirfan84 December 3rd, 2007 05:52 AM

Dear,

In your if you are passing parameters to DAL from BLL, you can take one transaction object in ur DAL which is accessible in all DAL mehtods.
When you call any of DAL mehtod from BLL, you can use this object only when it is required or none otherwise.

Control this object from ur BLL(start, commit/rollback). Hope it will help and perhaps an easy way.

Regards,
Ali Irfan


All times are GMT -4. The time now is 08:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.