Enterprise Library - n-tier - transactions????? RRS feed

  • Question

  • I have my Data Access Layer implemented and need to create a transaction between two methods in the DAL. I would like to have this code be in the Business Logic Layer. What is the correct way to do this. For example in my BLL I have   SQLCEData.InsertScanDataDocument(ID, .....);  and   SQLCEData.UpdateScanDataScannedDocuments(Id, .....);  I would think these two lines need to be wrapped inside some type of transaction class instance as well as possibly a try catch block. Can someone please point me in the right direction or post some sample code.
    Civilization has brought Evolution to a screeching halt.
    • Moved by Bob Beauchemin Wednesday, November 30, 2011 7:10 PM Moved to a more relevent forum for better response (From:.NET Framework inside SQL Server)
    Wednesday, November 30, 2011 6:13 PM


All replies