Hi,
I have following application architecture in VS2005.
UI
Presenter
WCFProxy
WCFServiceHost (currently it is WinForms)
WCFServiceLayer
BusinessLayer
DataLayer (LLBLGen)
SQL 2005 Database
Now I want to see (enable) the SQL query generated by LLBLGen.
I have app.config in UI, WCFServiceLayer and I have added below code in app.config.
<system.diagnostics>
<switches>
<add name="SqlServerDQE" value="4" />
<add name="ORMGeneral" value="4" />
<add name="ORMStateManagement" value="4" />
<add name="ORMPersistenceExecution" value="4" />
</switches>
<trace autoflush="true" indentsize="2">
<listeners>
<add name="textWriterListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\LLBL_textWriterListener.log" />
</listeners>
</trace>
<system.diagnostics>
Where exactly it will read (AND where I need to put app.config file) this Trace configuration?
(edit)
Also how can I have ORMConCurrencyException log to above file???
Thanks in advance.
Regards,
Kaksss