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

  • Home
  • SEARCH
  • 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 8630025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:57:28+00:00 2026-06-12T08:57:28+00:00

I currently use SQL Azure and Entity SQL in my application. e.g. Entities model

  • 0

I currently use SQL Azure and Entity SQL in my application.

e.g.

Entities model = new Entities();
db_Item item = model.db_Item.First();

Now I want to use the Transient Fault Handling out of the Enterprise Library but there are no examples or solutions that I can find that would allow me to do something like override the Entities class, so I don’t have to update my code in hundreds of places.

Could someone please provide more information on how this could be done?

  • 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-12T08:57:29+00:00Added an answer on June 12, 2026 at 8:57 am

    Going through what I have so far.

    1. The Entity Framework does not provide access to the connection open and section where the SQL is sent to the server, hence it is currently impossibile to provide retry logic around this area.

    2. The EF team are aware of this shortfall and are planning on actually integrating retry logic into EF for possibily version 6.

    3. As per Case #3 of [1] you can send a SQL command to the database on the OnContextCreated. This however means for EVERY single DB call you make to the DB, you will have to make 2. I wouldn’t recommend this in hardly any situation unless you don’t care about performance.

    4. The only viable option so far is implementing retry logic in the form of the Enterprise Library Transient Fault Handling Application Block [2] around every call you make to the database. In existing applications this is extremely tedious.

    5. When I get time I am looking further into the source code of EF to see if anything further can be done, while we wait for EF 6. I would keep an eye on [3]

    6. Some hope, it is currently under review by the EF team. [4]

    Update: 2013-11-14

    Just thought I would update this post to let everyone know that EF6 has been released and supports connection resiliency out of the box. https://www.nuget.org/packages/EntityFramework/

    No need for workarounds any more.

    Update: 2013-03-23

    EF 6 Alpha 3 released with Connection Resiliency – http://entityframework.codeplex.com/wikipage?title=Connection%20Resiliency%20Spec

    Update: 2012-11-04

    The EF team have officially announced it is planned for EF 6. [4]

    [1] http://blogs.msdn.com/b/appfabriccat/archive/2010/12/11/sql-azure-and-entity-framework-connection-fault-handling.aspx

    [2] http://msdn.microsoft.com/en-us/library/hh680934(v=pandp.50).aspx

    [3] http://entityframework.codeplex.com/wikipage?title=Roadmap

    [4] http://data.uservoice.com/forums/72025-entity-framework-feature-suggestions/suggestions/2426525-automatically-perform-retry-logic-for-sql-azure

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

Sidebar

Related Questions

I am currently developing an application that makes use of an SQL database. In
We currently use SQL Server 2005 Enterprise for our fairly large application, that has
My application in Django can create some very big SQL queries. I currently use
I am new in sql azure. Now i am facing a big problem that
I currently use SQL Server to store products in a large catalog web site.
We currently have in production SQL Server 2005 and we use it's full text
I currently use a combination of LVL and Proguard as a first line of
I currently use: BufferedReader input = new BufferedReader(new FileReader(filename)); Is there a faster way?
I've got a vertical market Dot Net Framework 1.1 C#/WinForms/SQL Server 2000 application. Currently
We currently use SQL Server, a BPM engine, win services, and even the Windows

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.