after more than 30 seconds being that I increased the timeout.
Gives error stating whether or not contexto.CommandTimeout
I'm using the latest version 6.10.126.0
The connection string are to:
Code: Select all
Connection Timeout=15;Default Command Timeout=0;Connection Lifetime=0;
Code: Select all
EntityException An error occurred while executing the command definition.
See the inner exception for details. - Lost connection to MySQL server during query
Code: Select all
using (var contexto = new PortabilidadeEntities())
{
contexto.CommandTimeout = 7200;
contexto.ProcAtualizaPortabilidadeRota(DateTime.Now);
}
Code: Select all
3/25/2011 4:00:16 PM - ProcAtualizaPortabilidadeRota - Data = 3/24/2011
3/25/2011 4:00:46 PM - EntityException An error occurred while executing the command definition. See the inner exception for details. - Lost connection to MySQL server during query