WebMatrix Database.Query with Custom CommandTimeout
问题 Consider the following TestDb with TestTable and Procedure USE TestDb GO --DROP TABLE dbo.TestTable IF NOT EXISTS (SELECT 1 FROM sys.tables WHERE name = 'TestTable') BEGIN CREATE TABLE dbo.TestTable ( RecordId int NOT NULL IDENTITY(1,1) PRIMARY KEY , StringValue varchar(50) NULL , DateValue date NULL , DateTimeValue datetime NULL , MoneyValue money NULL , DecimalValue decimal(19,4) NULL , IntValue int NULL , BitValue bit NOT NULL ) INSERT INTO dbo.TestTable SELECT 'Test', CAST(GETDATE() AS