Re: Enterprise Data Blocks and command timeout
- From: "sloan" <sloan@xxxxxxxxx>
- Date: Tue, 19 Dec 2006 07:37:10 -0500
There is a command timeout and a connection timeout.. They are not the same
things.
in the1.1 Ent Lib, I had to code up an overload to specify a larger command
timeout.
I have the 2.0 library (not handy unforunately).....and haven't looked at it
yet, but it is probably the same.
<MarkusJNZ@xxxxxxxxx> wrote in message
news:1166166117.638849.151410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, I am using 2.0 DAB to return a datareader (ASP.NET 2.0)
// Create a database object
Database db =
DatabaseFactory.CreateDatabase("ConnectionString");
I then use the following to return a dataReader
IDataReader _reader = db.ExecuteReader(CommandType.StoredProcedure,
"spStoredProcedureName");
I am experienceing problems where the command times out. How can I set
the command object timeout property when using the above code to
execute a stored procedure against the database??
thanks in advance
Markus
.
- References:
- Enterprise Data Blocks and command timeout
- From: MarkusJNZ
- Enterprise Data Blocks and command timeout
- Prev by Date: Re: Reflector not running under correct framework version
- Next by Date: Re: saving collections in Settings.Settings
- Previous by thread: Re: Enterprise Data Blocks and command timeout
- Next by thread: Nullable types problerm
- Index(es):
Relevant Pages
|