I tried to start the profiler but it is not working.
In startup.cs we used this code:
SD.LLBLGen.Pro.ORMSupportClasses.RuntimeConfiguration.ConfigureDQE<SD.LLBLGen.Pro.DQE.SqlServer.SQLServerDQEConfiguration>(
c => c.SetTraceLevel(System.Diagnostics.TraceLevel.Verbose)
.AddDbProviderFactory(SD.Tools.OrmProfiler.Interceptor.InterceptorCore.Initialize("application name",
typeof(System.Data.SqlClient.SqlClientFactory)))
.SetDefaultCompatibilityLevel(SD.LLBLGen.Pro.ORMSupportClasses.SqlServerCompatibilityLevel.SqlServer2012));
var wrappedType = SD.Tools.OrmProfiler.Interceptor.InterceptorCore.Initialize("application name",
typeof(System.Data.SqlClient.SqlClientFactory));
SD.Tools.OrmProfiler.Interceptor.InterceptorCore.Initialize("application name", wrappedType);
then in the code I have this usage:
var dataAccessAdapter = new BobyClock.LLBL.Organization.DatabaseSpecific.DataAccessAdapter(connStringBuilder.ConnectionString);
then started ORM Profiler and I pressed Start Recording and then running the application but no activity is recorded in the profiler.
I am using:
netcoreapp2.2
SD.Tools.OrmProfiler.Interceptor.NetCore 2.0.2
SD.LLBLGen.Pro.ORMSupportClasses 5.3.0