System.Data.Common.DbCommand.SetCommandTimeout(int)

Here are the examples of the csharp api class System.Data.Common.DbCommand.SetCommandTimeout(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
public static DatabaseCommand SetCommandTimeout( this DatabaseCommand databaseCommand, int commandTimeoutSeconds )
        {
            databaseCommand.DbCommand.SetCommandTimeout( commandTimeoutSeconds );

            return databaseCommand;
        }