Skip to content

SQL command timeout values are not used in the stored procedure connections #37

@mykiep

Description

@mykiep

The stored procedure calls create new connections and are not using the timeout values from the database. This was fixed in a pull request into rhallman/EntityFrameworkExtras

                command.CommandText = query;
                command.CommandType = CommandType.Text;
                int? commandTimeout = database.GetCommandTimeout();
                if (commandTimeout.HasValue)
                {
                    command.CommandTimeout = commandTimeout.Value;
                }
                command.Parameters.AddRange(parameters);
                database.OpenConnection();

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions