DataContext.CommandTimeout problem

DataContext.CommandTimeout problem

Postby dilbert » Mon 07 Sep 2009 18:09

Hi,
according to the previous "New features announcements" support for property DataContext.CommandTimeout should be added.

However, currently I'm using dotconnect for MySQL 5.40.42 and I've got "Specified method is not supported." exception for the following code:

Code: Select all
_dbContext = new DBContext(ConnectionString);
_dbContext.CommandTimeout = 120;


It seems strange to me because I think this property was really available in previous versions. (Although, I'm not sure about it.)

(Setting command timeout for MySqlCommand works correctly. It's just Linq DataContext issue.)

So, I'd like to ask if it's really problem of the latest build.
Thank you in advance.
dilbert
 
Posts: 68
Joined: Tue 28 Apr 2009 10:11

Postby Shalex » Wed 09 Sep 2009 12:37

Support for the DataContext.CommandTimeout property is implemented in dotConnect for PostgreSQL and dotConnect for Oracle (the Direct mode only). We plan to implement DataContext.CommandTimeout in dotConnect for MySQL in the nearest build.
Shalex
Devart Team
 
Posts: 7841
Joined: Thu 14 Aug 2008 12:44

Postby Shalex » Tue 22 Sep 2009 14:11

We have supported the DataContext.CommandTimeout property in our LINQ to MySQL support. I will post here when the next build of dotConnect for MySQL is available for download.
Shalex
Devart Team
 
Posts: 7841
Joined: Thu 14 Aug 2008 12:44

Postby Shalex » Fri 25 Sep 2009 07:45

The new build of dotConnect for MySQL 5.40.44 is available for download now.
It can be downloaded from http://www.devart.com/dotconnect/mysql/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=15925 .
Shalex
Devart Team
 
Posts: 7841
Joined: Thu 14 Aug 2008 12:44

Postby dilbert » Thu 03 Dec 2009 12:53

CommandTimeout method is now implemented. However it has no effect (in dotConnect for MySQL 5.50.57). The connection is always lost after 30 seconds.
dilbert
 
Posts: 68
Joined: Tue 28 Apr 2009 10:11

Postby AndreyR » Fri 04 Dec 2009 13:35

Thank you for the report, we have reproduced the problem.
I will let you know as soon as it is fixed.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby AndreyR » Mon 14 Dec 2009 10:17

The problem is fixed, the fix will be included in the nearest build.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby AndreyR » Fri 15 Jan 2010 16:27

The new build is available. Please let me know if the error persists.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to LinqConnect (LINQ to SQL support)