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

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

    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