Fault-tolerant handling of dying connections (with EF)

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
tzi
Posts: 5
Joined: Tue 15 Jun 2010 19:30

Fault-tolerant handling of dying connections (with EF)

Post by tzi » Tue 07 Sep 2010 13:36

Hi!

I am using dotConnect 4.95 with EF (and VS2008). If I insert an object into the model and the connection died, what is the best way to:

a.) reconnect
b.) have the object saved

Thanks,
Tom

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 07 Sep 2010 14:14

You should implement handling like in this post.
There is no need to reopen the connection, EF will perform necessary actions for you.

Post Reply