score:2
Accepted answer
You can set the timeout in your connection string.
"Persist Security Info=False;Integrated Security=SSPI;database=northwind;server=mySQLServer;Connect Timeout=30";
The Connect Timeout
is in seconds
Source: stackoverflow.com
Related Articles
- Linq to Entities timeout issues
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- LINQ Source Code Available
- Refactor Linq code and "LINQ to Entities does not recognize the method"
- creating Linq to sqlite dbml from DbLinq source code
- EF Code First - Linq to Entities Union EqualityComparer
- Entity Framework LINQ to Entities Join Query Timeout
- linq to entities changing database connection string in code
- code first approach error: the specified type member 'yyyxx' is not supported in linq to entities
- Entity Framework object LINQ query Timeout issues
- LINQ to Entities similar code
- source code for LINQ 101 samples
- How to LINQ Query Code First generated EF6 hierarchical entities (entities within entities)?
- Linq to entities hard code list
- Entity Framework 4 and Linq to Entities specifications: How to code it?
- Why is my Linq to Entities code duplicating rows?
- c# Linq or code to extract groups from a single list of source data
- Linq To Entities Join Issues
- Entity Framework Code First - The entity or complex type cannot be constructed in a LINQ to Entities query
- Convert string[] to int[] in one line of code using LINQ
- Linq to Entities - SQL "IN" clause
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- Entity framework linq query Include() multiple children entities
- EF LINQ include multiple and nested entities
- LINQ to Entities does not recognize the method 'System.String ToString()' method, and this method cannot be translated into a store expression
- LINQ to Entities does not recognize the method
- Linq code to select one item
- LINQ to Entities does not recognize the method 'System.String Format(System.String, System.Object, System.Object)'
- Bulk-deleting in LINQ to Entities
- Using LINQ to Update A Property in a List of Entities
- Using .ToString inside a LINQ query select statement
- How do I remove the Where condition of my lambda expression?
- Asp MVC Entity Framework Check if User has Permission or Role
- Sort Array of Objects by Date
- How to write order by in linq
- Conditional update strings in collection with LINQ
- select some ids from sql in linq
- Order list by date and sequence number
- C# Linq To Create Group On Multiple Properties and format the resultant group into single key/property?
- LINQ to XML set value if it is not null otherwise use default value from the constructor
- linq populate custom collection
- How can i use generic class to write useful codes via linq?
- Viewmodel with conditional aggregation (Sums)
- Use linq to count in many to many table
- C# Pass lambda expression field into method and use field in linq query
- LINQ Remove duplicates and result item to have sum of quantities
- How to access DbSet type dynamically
- Linq list subset removal
- How to align a list of objects according to their string properties?
- Linq groupby return unique group