Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9149327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:27:43+00:00 2026-06-17T11:27:43+00:00

Guys you must be thinking why I have to do that … I may

  • 0

Guys you must be thinking why I have to do that … I may be wrong but the I am designing a system

It has following layers

  • Data Access Layer (Handles sql transactions)
  • Data Managers
  • Presentation Layers

Data manager call the data access layer to do the sql transaction.
and particular function in Presentation layer call multiple data managers to do its job …

if each data manager create separate instance for the Data access class and they don’t share the transaction, a function at the presentation layer is executing sql in more than one transactions and one of the transaction fails it will roll back that and will not affect the other transaction. We don’t want that … we want to roll back all the transactions happens to complete the job of that presentation layer function.

I don’t know how to achieve that …

Does my design is incorrect?
Any suggestions ???

I am using SQL Server 2008 and C# and .Net 4.0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:27:44+00:00Added an answer on June 17, 2026 at 11:27 am

    SQL Server supports nested transactions so your data layer/manager can start a transaction first
    http://msdn.microsoft.com/en-us/library/ms189336(v=sql.105).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Guys, I have the following code that is inside a big while loop that
Guys I have an activity which has a home button, when the button is
Guys what is the formal name PRECONDITION or PRECONDITIONS that fnc must satisfy in
Sorry to bother you guys again, but here's my dilemma. There must be a
Hy guys. Any idea what could be wrong with that code: $IDuporabnikakijeobiskopravil = document.forms[referentpodatki].elements[id_uporabnika_ki_je_opravil_obisk].value
Morning Guys, I have a CSS issue that's driving me up the wall. I
hi guys i have this script but obviously im not using foreach right i
I realize that TeamCity must be a bridge between YouTrack and SVN, but I
guys. I have a strange problem. I try to write unit-tests to web-app. I
Hey guys currently I am thinking of serving images using an image handler script.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.