- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on a multi-layered application that is Data acess, Bussiness and UI layer. The application works with several providers like Autocad and Sketchup. All the Autocad/Sketchup specific APIs are dealt with in Data Acess layer. The thing is, in a modaless application, to hide the Atuocad specific APIs like the transaction calls(oppening/clossing/commiting) and to keep it on the Data Access layer the cost is high as on each call a new transaction has to be opened whereas a possible one single transaction in the UI layer can handle the fetching/updating more quickly.
So my question is that is there a way to keep the transaction activities on DAL or to just open it once on loading the application and disposing it on unloading/closing the application/form.
Thanks,
Ali
Solved! Go to Solution.