dotConnect for SQLite Documentation
Devart.Common Namespace / SelectStatement Class
Members

In This Topic
    SelectStatement Class
    In This Topic
    Composes, modifies and parses SELECT statements.
    Syntax
    'Declaration
     
    Public Class SelectStatement 
    public class SelectStatement 
    Remarks

    The SelectStatement class is designed for easy manipulation of SQL SELECT statements. It allows you to perform the following tasks:

    • Construct SELECT statements in run time;
    • Modify the statements with object-oriented interface;
    • Parse the statements from strings.
    The SelectStatement class exposes SELECT, ORDER BY and GROUP BY clauses as collections of SelectColumn objects (SelectColumnCollection), and FROM clause as collection of SelectTable objects (SelectTableCollection). The WHERE and HAVING clauses are represented as string expressions.

    To obtain the statement text use the ToString method.

    Instances of this class cannot be created directly. To use its functionality, one needs to create an object of a descendant class, like SQLiteSelectStatement.

    Inheritance Hierarchy

    System.Object
       Devart.Common.SelectStatement
          Devart.Data.SQLite.SQLiteSelectStatement

    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