I want to list SQLs executed by AD.NET.
Well,I did not work with .NET technology that much. For Hibernate, there is config option named "show sql" which enlist all SQLs to be executed on standard console. I want something like "show sql" for ADO.NET which will enlist SQLs to be executed.
I don't want to change my code to translate object entity to SQL (like using pre-defined function toSQLString()) but I want a something like global parameter or config option which will be applicable to whole application.
This might be very easy thing, but as don't know much .NET, please forgive me and answer.