Bug #67171 | Default Command Timeout not applying for EFMySqlCommand | ||
---|---|---|---|
Submitted: | 10 Oct 2012 4:26 | Modified: | 11 Mar 2013 17:46 |
Reporter: | Aaron Clauson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 6.4.5 & 6.6.3 | OS: | Windows (Windows 7) |
Assigned to: | Fernando Gonzalez.Sanchez | CPU Architecture: | Any |
Tags: | command-timeout, entity-framework |
[10 Oct 2012 4:26]
Aaron Clauson
[26 Oct 2012 23:19]
Fernando Gonzalez.Sanchez
Confirmed, So far the workoaround is to explicitely set the command time out for EFMySqlCommand objects thru an assignation: ctx.CommandTimeout = xxxx; where ctx is the EF context class (derived from ObjectContext in the case of Database First).
[11 Mar 2013 17:46]
John Russell
Added to changelog for 6.5.6, 6.6.6: Specifying the Default Command Timeout option in a connection string used with the MySQL Entity Framework provider had no effect. The command timeout was always 30 seconds.