In enterprise library 5 when i'm using App.Config with incorrect connectionString with name "test" and use this line:
Database DB = DatabaseFactory.CreateDatabase("test");
DB created successfully but when the following line executed there is a substantial delay followed by exception:
DataTable dt = DB.ExecuteDataSet(SPName, Params).Tables;
i'm asking about the substantial delay why ??!!!
the delay is because it's trying to connect to a database that doesn't exist, at least i'm assuming that since you say the connection string is incorrect.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)