G
Guest
Seeing as it is being recommended as the successor to SqlHelper.cs, I am
trying to use the Data Access Application block from the Enterprise Library.
My class works fine until i add the following line of code anywhere,
whereapon it runs incredibly slowly.
Database db = DatabaseFactory.CreateDatabase();
I understand that a database connection is a big resource, but it is taking
a good 10 to 15 seconds to even step to the method within the class with this
line in it, let alone run the line itself!
I hope it is simply a config issue i have overlooked, or i'll be sticking
with SqlHelper.
thanks in advance for any suggestions.
trying to use the Data Access Application block from the Enterprise Library.
My class works fine until i add the following line of code anywhere,
whereapon it runs incredibly slowly.
Database db = DatabaseFactory.CreateDatabase();
I understand that a database connection is a big resource, but it is taking
a good 10 to 15 seconds to even step to the method within the class with this
line in it, let alone run the line itself!
I hope it is simply a config issue i have overlooked, or i'll be sticking
with SqlHelper.
thanks in advance for any suggestions.