I'm trying to try out the new OrmProfiler V2 beta.
My app is windows forms, full frame work using a Llblgen v5.5 data library compiled for dotnet standard.
The profiler client is running on the same machine as the app.
If I reference SD.Tools.OrmProfiler.Interceptor.NetFull.dll
and do
InterceptorCore.Initialize("thumper");
// Configure the DQE
RuntimeConfiguration.ConfigureDQE<SQLServerDQEConfiguration>(
c =>
{
c.SetTraceLevel(TraceLevel.Verbose)
.AddDbProviderFactory(typeof(System.Data.SqlClient.SqlClientFactory))
.SetDefaultCompatibilityLevel(SqlServerCompatibilityLevel.SqlServer2012)
.AddCatalogNameOverwrite("Thumper_d1", "");
});
I don't get compile errors, but see nothing in the profiler windows.
if instead I try to treat it as a core application I'm
not able to reference SD.Tools.OrmProfiler.Interceptor.NetCore.dll (of course).
With SD.Tools.OrmProfiler.Interceptor.NetFull.dll referenced though I can't compile this.
RuntimeConfiguration.ConfigureDQE<SQLServerDQEConfiguration>(
c => c.SetTraceLevel(TraceLevel.Verbose)
.AddDbProviderFactory(InterceptorCore.Initialize("Thumper",
typeof(System.Data.SqlClient.SqlClientFactory)))
.SetDefaultCompatibilityLevel(SqlServerCompatibilityLevel.SqlServer2012));
Am I doing something wrong, is this not supported, does there need to be a different interceptor?