I\'m using Entity Framework 5 and I wish to know the command timeout value.
In order to do so, I cast the dbContext object to an ObjectContext
dbContext
ObjectContext
This should work
var ctx = new DbContext(); ctx.Database.CommandTimeout = 120;