The QueryContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
QueryContext | Initializes a new instance of the QueryContext class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
DBServerVersion |
SQL Server version information
| |
DomainName |
Windows domain name for the user that executed the query.
| |
EndDateTime |
Local date/time on the system running the query at the time the query finished executing.
| |
MachineName |
Machine name of the system that generated the query.
| |
Provider |
Linq-to-SQL provider information
| |
SessionID |
SQL Server session ID
| |
StartDateTime |
Local date/time on the system running the query at the time the query was started.
| |
TotalRoundtripTime |
Total client to SQL server roundtrip time between start of execution and completion.
| |
UserName |
User name under which the code that generated the query was running.
|