views:

39

answers:

0

Hi,

I am using Enterprise Library 4.0 for my application, I need to know whether we need to handle Prepare() method explicitly. Or does it implemented internally to the library.

I am only dealing with SQL statements, not Stored Procedures. I am always using "db.ExecuteDataSet(CommandType.Text, sql)"

Note: As per my knowledge, Prepare() will prepare(compile) sql before execution on the SQL server. Make it faster for performance.

Or any other better ways to increase performance "Enterprise Library"

  • Buddhi -