LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / GetCommand Method
The query whose SQL command information is to be retrieved.

GetCommand Method
Provides information about SQL commands generated by LINQ to SQL.
Syntax
'Declaration
 
Public Function GetCommand( _
   ByVal query As IQueryable _
) As DbCommand
 

Parameters

query
The query whose SQL command information is to be retrieved.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also