Retrieves the active profiler for a datacontext instance.
Namespace: Huagati.LinqToSQL.ProfilerAssembly: HuagatiL2SProfiler (in HuagatiL2SProfiler.dll) Version: 1.33.3996.16059
Syntax
C# |
---|
public static QueryProfiler GetActiveProfiler( this DataContext dc ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function GetActiveProfiler ( _ dc As DataContext _ ) As QueryProfiler |
Visual C++ |
---|
[ExtensionAttribute] public: static QueryProfiler^ GetActiveProfiler( DataContext^ dc ) |
Parameters
- dc
- Type: System.Data.Linq..::..DataContext
DataContext object to retrieve the profiler for.