ComponentOne FlexPivot for WinForms
C1.DataEngine Assembly / C1.DataEngine Namespace / Workspace Class / query Method / query(String,Object) Method
Name of the query. If the name is specified, query result is stored on disk.
Columns of the result, and other settings of the query.

In This Topic
    query(String,Object) Method
    In This Topic
    Creates a query based on a single table or query (not a join).
    Syntax
    'Declaration
     
    Public Overloads Function query( _
       ByVal name As String, _
       ByVal settings As Object _
    ) As ExpandoObject
    public ExpandoObject query( 
       string name,
       object settings
    )

    Parameters

    name
    Name of the query. If the name is specified, query result is stored on disk.
    settings
    Columns of the result, and other settings of the query.

    Return Value

    Dynamic object representing the query.
    Remarks
    The dynamic object can be used in queries over the result of this query if such are needed, same way as in table Also, it has a Query property that returns the Query object representing this query. It is used for executing the query: dynamic query1 = workspace.query(...); query1.Query.Execute();
    See Also